Sha256: 80fcafb3f1b3eb43d72e4f8ead46c664b2127d7cdda8436320806a53ce94389a
Contents?: true
Size: 460 Bytes
Versions: 10
Compression:
Stored size: 460 Bytes
Contents
module YouGotListed class Resource attr_accessor :client def initialize(client) self.client = client end def process_get(path, params = {}, raise_error = false) Response.new(self.client.perform_request(:get, path, params), raise_error) end def process_post(path, params = {}, raise_error = false) Response.new(self.client.perform_request(:post, path, params), raise_error) end end end
Version data entries
10 entries across 10 versions & 1 rubygems