module Fulfillment::Resources::Venues
Public Instance Methods
find(fulfillment_method, id)
click to toggle source
# File lib/fulfillment/resources/venues.rb, line 11 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
search(fulfillment_method, params)
click to toggle source
# File lib/fulfillment/resources/venues.rb, line 6 def search(fulfillment_method, params) response = Request.new("venues", fulfillment_method: fulfillment_method, query: params).get response.body end