Class: Top4R::LogisticCompany

Inherits:
Object
  • Object
show all
Includes:
ModelMixin
Defined in:
lib/top4r/model/shipping.rb

Overview

LogisticCompany model

Constant Summary collapse

@@ATTRIBUTES =
[:id, :code, :name]

Class Method Summary collapse

Methods included from ModelMixin

included

Class Method Details

.attributesObject



25
# File 'lib/top4r/model/shipping.rb', line 25

def attributes; @@ATTRIBUTES; end

.default_public_fieldsObject



27
28
29
# File 'lib/top4r/model/shipping.rb', line 27

def default_public_fields
  ["id", "code", "name"]
end