Sha256: 86b4e40cc762a1a4aefc963ed91a784a94221b90a4891ae033c720b0344aa838
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
module Fulfillment module Resources module Venues extend self def search(fulfillment_method, params) response = Request.new("venues", fulfillment_method: fulfillment_method, query: params).get response.body end def find(fulfillment_method, id) response = Request.new("venues/#{id}", fulfillment_method: fulfillment_method).get return if response.body.nil? || response.body.empty? response.body end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fulfillment-api-1.1.9 | lib/fulfillment/resources/venues.rb |
fulfillment-api-1.1.7 | lib/fulfillment/resources/venues.rb |