Sha256: bd1bdfec0a42a2d2bfe4672539e989c5d46f659d1ee3d63272135c1132a94dbd
Contents?: true
Size: 585 Bytes
Versions: 22
Compression:
Stored size: 585 Bytes
Contents
module Eligible class Customer < APIResource def self.get(params, api_key = nil) send_request(:get, api_url('customers', params, :customer_id), api_key, params, :customer_id) end def self.post(params, api_key = nil) send_request(:post, api_url('customers'), api_key, params) end def self.update(params, api_key = nil) send_request(:put, api_url('customers', params, :customer_id), api_key, params, :customer_id) end def self.all(params, api_key = nil) send_request(:get, api_url('customers'), api_key, params) end end end
Version data entries
22 entries across 22 versions & 1 rubygems