Class: LWS::Auth::Contract
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Auth::Contract
- Defined in:
- lib/lws/apps/auth.rb
Overview
The contract class
Instance Attribute Summary collapse
-
#company ⇒ Company
The company that has the contract.
-
#company_id ⇒ Fixnum
The ID of the company that has the contract.
-
#created_at ⇒ String
readonly
The timestamp of when the contract was created.
-
#end_date ⇒ String
The end date of the contract (date/time string).
-
#id ⇒ Fixnum
readonly
The (unique) ID of the contract.
-
#start_date ⇒ String
The start date of the contract (date/time string).
-
#updated_at ⇒ String
readonly
The timestamp of when the contract was last updated.
Instance Attribute Details
#company ⇒ Company
Returns the company that has the contract.
273 |
# File 'lib/lws/apps/auth.rb', line 273 belongs_to :company |
#company_id ⇒ Fixnum
Returns the ID of the company that has the contract.
277 |
# File 'lib/lws/apps/auth.rb', line 277 attribute :company_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the contract was created.
289 |
# File 'lib/lws/apps/auth.rb', line 289 attribute :created_at |
#end_date ⇒ String
Returns the end date of the contract (date/time string).
281 |
# File 'lib/lws/apps/auth.rb', line 281 attribute :end_date |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the contract.
269 |
# File 'lib/lws/apps/auth.rb', line 269 attribute :id |
#start_date ⇒ String
Returns the start date of the contract (date/time string).
285 |
# File 'lib/lws/apps/auth.rb', line 285 attribute :start_date |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the contract was last updated.
293 |
# File 'lib/lws/apps/auth.rb', line 293 attribute :updated_at |