Class: Airbnb::V1

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

Constant Summary collapse

URL =
"#{Airbnb::Base::URL}/v1".freeze

Class Method Summary collapse

Methods inherited from Base

get, post

Class Method Details

.authorize(params) ⇒ Object



8
9
10
# File 'lib/airbnb/v1.rb', line 8

def authorize(params)
  post("#{Airbnb::V1::URL}/authorize", form: params)
end