Sha256: 6ccdd1e0fe1dc53c23042e15b20abc3a1ad2cfc507ef3240bedbdfdb79c98916
Contents?: true
Size: 503 Bytes
Versions: 5
Compression:
Stored size: 503 Bytes
Contents
module SecondAmendmentWholesale class Attribute < Base include SecondAmendmentWholesale::API def initialize(options = {}) requires!(options, :token) @options = options end def self.all(options = {}) requires!(options, :token) new(options).all end def all headers = [ *auth_header(@options[:token]), *content_type_header('application/json'), ].to_h get_request('feed/attributes', headers).body end end end
Version data entries
5 entries across 5 versions & 1 rubygems