Sha256: af0f107a0f44f937247f21ffcbfdb6b4e08bfc281355df53b1f7fa083d361818
Contents?: true
Size: 973 Bytes
Versions: 1
Compression:
Stored size: 973 Bytes
Contents
module Fortnox module API module Repository class Base class Options attr_accessor :uri, :json_collection_wrapper, :json_entity_wrapper, :unique_id, :attr_to_json_map, :json_to_attr_map, :keys_filtered_on_save def initialize( uri:, json_collection_wrapper:, json_entity_wrapper:, unique_id:, attribute_name_to_json_key_map: {}, keys_filtered_on_save: [ :url ] ) @uri = uri @json_collection_wrapper = json_collection_wrapper @json_entity_wrapper = json_entity_wrapper @unique_id = unique_id @attr_to_json_map = attribute_name_to_json_key_map @json_to_attr_map = @attr_to_json_map.invert @keys_filtered_on_save = keys_filtered_on_save end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fortnox-api-0.1.0 | lib/fortnox/api/repositories/base/options.rb |