Sha256: c42bb926b3de4a1fff1b664414238998a2ab26fff82c7a5470bf2bc7ea316fff

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

module RoomoramaApi
  module Api
    module Favorites
      def favorites_list(options = {})
        api_call "favorites", options
      end
  
      def favorites_create(options = {})
        api_call "favorites", options, :post
      end
  
      def favorites_delete(id, options = {})
        api_call "favorites/" + id.to_s, options, :delete
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roomorama_api-0.4.1 lib/roomorama_api/api/favorites.rb
roomorama_api-0.4.0 lib/roomorama_api/api/favorites.rb
roomorama_api-0.3.0 lib/roomorama_api/api/favorites.rb
roomorama_api-0.2.0 lib/roomorama_api/api/favorites.rb