Class: Airbnb::V2::Listings

Inherits:
Base
  • Object
show all
Defined in:
lib/airbnb/v2/listings.rb

Constant Summary

Constants inherited from Base

Base::URL

Class Method Summary collapse

Methods inherited from Base

get, post

Class Method Details

.show(id) ⇒ Object



4
5
6
# File 'lib/airbnb/v2/listings.rb', line 4

def show(id)
  get("#{Airbnb::V2::URL}/listings/#{id}", params: {_format: 'v1_legacy_for_p3'})
end