Sha256: 91f9cfc1d18f406590d173ad60850e8a22a250039d5270fdf272d6350fc97617
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
require "fortnox/api/repository/base" module Fortnox module API module Customer class Repository < Fortnox::API::Repository::Base def initialize super( base_uri: '/customers/', json_list_wrapper: 'Customers', json_unit_wrapper: 'Customer', key_map: { vat_type: "VATType", } ) end private def instansiate( hash ) Fortnox::API::Customer::Entity.new( hash ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fortnox-api-0.0.2 | lib/fortnox/api/customer/repository.rb |