Module: RoomoramaApi::Api::Favorites

Included in:
Client
Defined in:
lib/roomorama_api/api/favorites.rb

Instance Method Summary collapse

Instance Method Details

#favorites_create(options = {}) ⇒ Object



8
9
10
# File 'lib/roomorama_api/api/favorites.rb', line 8

def favorites_create(options = {})
  api_call "favorites", options, :post
end

#favorites_delete(id, options = {}) ⇒ Object



12
13
14
# File 'lib/roomorama_api/api/favorites.rb', line 12

def favorites_delete(id, options = {})
  api_call "favorites/" + id.to_s, options, :delete
end

#favorites_list(options = {}) ⇒ Object



4
5
6
# File 'lib/roomorama_api/api/favorites.rb', line 4

def favorites_list(options = {})
  api_call "favorites", options
end