Sha256: 843da37fdc27d517511bf168bebdc68d5599199fbb0ac64f005ba2241aae2acc

Contents?: true

Size: 340 Bytes

Versions: 18

Compression:

Stored size: 340 Bytes

Contents

module Homeflow
  module API
   class Search < Resource

    is_resource :searches

    def self.create(params)
      Request.run_for(Homeflow::API::Post.new("/#{resource_uri}/", {}, params))
    end

    def self.update(id, params)
    	Request.run_for(Homeflow::API::Put.new("/#{resource_uri}/#{id}", {}, params))
    end

   end
 end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
homeflow_api-1.0.3 lib/homeflow/api/search.rb
homeflow_api-1.0.2 lib/homeflow/api/search.rb
homeflow_api-1.0.1 lib/homeflow/api/search.rb
homeflow_api-1.0.0 lib/homeflow/api/search.rb
homeflow_api-0.17.15 lib/homeflow/api/search.rb
homeflow_api-0.17.14 lib/homeflow/api/search.rb
homeflow_api-0.17.13 lib/homeflow/api/search.rb
homeflow_api-0.17.12 lib/homeflow/api/search.rb
homeflow_api-0.17.11 lib/homeflow/api/search.rb
homeflow_api-0.17.9 lib/homeflow/api/search.rb
homeflow_api-0.17.8 lib/homeflow/api/search.rb
homeflow_api-0.17.6 lib/homeflow/api/search.rb
homeflow_api-0.17.5 lib/homeflow/api/search.rb
homeflow_api-0.17.4 lib/homeflow/api/search.rb
homeflow_api-0.17.3 lib/homeflow/api/search.rb
homeflow_api-0.17.1 lib/homeflow/api/search.rb
homeflow_api-0.17.0 lib/homeflow/api/search.rb
homeflow_api-0.16.0 lib/homeflow/api/search.rb