Class: Top4R::Area

Inherits:
Object
  • Object
show all
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

included

Class Method Details

.attributesObject



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

def attributes; @@ATTRIBUTES; end

.default_public_fieldsObject



12
13
14
# File 'lib/top4r/model/shipping.rb', line 12

def default_public_fields
  ["id", "type", "name", "parent_id", "zip"]
end