Class: Top4R::Area
- Inherits:
-
Object
- Object
- Top4R::Area
- Includes:
- ModelMixin
- Defined in:
- lib/top4r/model/shipping.rb
Overview
Area model
Constant Summary collapse
- @@ATTRIBUTES =
[:id, :type, :name, :parent_id, :zip]
Class Method Summary collapse
Methods included from ModelMixin
Class Method Details
.attributes ⇒ Object
10 |
# File 'lib/top4r/model/shipping.rb', line 10 def attributes; @@ATTRIBUTES; end |
.default_public_fields ⇒ Object
12 13 14 |
# File 'lib/top4r/model/shipping.rb', line 12 def default_public_fields ["id", "type", "name", "parent_id", "zip"] end |