Class: Centaman::Object::CostRate
- Inherits:
-
Centaman::Object
- Object
- Centaman::Object
- Centaman::Object::CostRate
- Defined in:
- lib/centaman/object/cost_rate.rb
Instance Method Summary collapse
Methods inherited from Centaman::Object
#after_init, #define_variables, #initialize
Constructor Details
This class inherits a constructor from Centaman::Object
Instance Method Details
#attributes ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/centaman/object/cost_rate.rb', line 3 def attributes [ Centaman::Attribute.new( centaman_key: 'FirstName', app_key: :first_name, type: :string ), Centaman::Attribute.new( centaman_key: 'LastName', app_key: :last_name, type: :string ), Centaman::Attribute.new( centaman_key: 'Email', app_key: :email, type: :string ), Centaman::Attribute.new( centaman_key: 'ContactID', app_key: :contact_id, type: :integer ), Centaman::Attribute.new( centaman_key: 'ContactCostRateID', app_key: :cost_rate_id, type: :integer ) ] end |