Class: Top4R::LogisticCompany
- Inherits:
-
Object
- Object
- Top4R::LogisticCompany
- Includes:
- ModelMixin
- Defined in:
- lib/top4r/model/shipping.rb
Overview
LogisticCompany model
Constant Summary collapse
- @@ATTRIBUTES =
[:id, :company_id, :company_code, :company_name]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ModelMixin
Class Method Details
.attributes ⇒ Object
29 |
# File 'lib/top4r/model/shipping.rb', line 29 def attributes; @@ATTRIBUTES; end |
.default_public_fields ⇒ Object
31 32 33 |
# File 'lib/top4r/model/shipping.rb', line 31 def default_public_fields ["company_id", "company_code", "company_name"] end |
Instance Method Details
#unmarshal_other_attrs ⇒ Object
36 37 38 39 |
# File 'lib/top4r/model/shipping.rb', line 36 def unmarshal_other_attrs @id = @company_id self end |