Method: MLS::Tour.create
- Defined in:
- lib/mls/models/tour.rb
.create(listing_id, account, tour = {}) ⇒ Object
52 53 54 55 56 |
# File 'lib/mls/models/tour.rb', line 52 def create(listing_id, account, tour={}) params = {:account => account, :tour => tour} response = MLS.post("/listings/#{listing_id}/tours", params) return MLS::Tour::Parser.parse(response.body) end |