Class: Epages::TaxClassInfo
- Inherits:
-
Object
- Object
- Epages::TaxClassInfo
- Includes:
- Utils
- Defined in:
- lib/epages/tax_class_info.rb
Constant Summary collapse
- KEYS =
%w(tax_class_id name percentage).collect(&:to_sym).freeze
Instance Method Summary collapse
-
#initialize(data) ⇒ TaxClassInfo
constructor
A new instance of TaxClassInfo.
Methods included from Utils
build_shop_from, camelize_keys, camelize_words, options_to_multipart_request, options_to_patch_request, parse_attribute_as, parse_attribute_as_array_of, parse_attributes, symbolize_keys!, to_query_options, underscorize_keys
Constructor Details
#initialize(data) ⇒ TaxClassInfo
Returns a new instance of TaxClassInfo.
11 12 13 |
# File 'lib/epages/tax_class_info.rb', line 11 def initialize(data) parse_attributes(data) end |