Module: RoomoramaApi::Api::Perks
- Included in:
- Client
- Defined in:
- lib/roomorama_api/api/perks.rb
Instance Method Summary collapse
Instance Method Details
#perks_get_data(perk_id, options = {}) ⇒ Object
8 9 10 |
# File 'lib/roomorama_api/api/perks.rb', line 8 def perks_get_data(perk_id, ={}) api_call "perks/" + perk_id.to_s, end |
#perks_list(options = {}) ⇒ Object
4 5 6 |
# File 'lib/roomorama_api/api/perks.rb', line 4 def perks_list(={}) api_call "perks", end |