Skip to content

BnbHero

Keang edited this page Dec 23, 2016 · 4 revisions

BnbHero is a lightweight supplier, the only one that has no synchronisation job and provides only on-request, default-to-available properties.

They provide customized json feed(that attempts to match Bridge's fields) which is just an array of objects(each object look like this)

Import

To import it, make sure a host is created, then run a rake task:

rake properties:import_bnbhero[:json_file,:host_id]

where:

  • :json_file is the path to the json feed file, and
  • :host_id is the Concierge host id for BnbHero.