Class: WorkSnaps::UserAssignment
- Defined in:
- lib/worksnaps/user_assignment.rb
Instance Attribute Summary collapse
-
#hourly_rate ⇒ Object
readonly
Returns the value of attribute hourly_rate.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#project_id ⇒ Object
readonly
Returns the value of attribute project_id.
-
#role ⇒ Object
readonly
Returns the value of attribute role.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Method Summary
Methods inherited from Base
#[], attr_reader, #attrs, fetch, fetch_or_new, identity_map, #initialize, store, #update
Constructor Details
This class inherits a constructor from WorkSnaps::Base
Instance Attribute Details
#hourly_rate ⇒ Object (readonly)
Returns the value of attribute hourly_rate.
5 6 7 |
# File 'lib/worksnaps/user_assignment.rb', line 5 def hourly_rate @hourly_rate end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/worksnaps/user_assignment.rb', line 5 def id @id end |
#project_id ⇒ Object (readonly)
Returns the value of attribute project_id.
5 6 7 |
# File 'lib/worksnaps/user_assignment.rb', line 5 def project_id @project_id end |
#role ⇒ Object (readonly)
Returns the value of attribute role.
5 6 7 |
# File 'lib/worksnaps/user_assignment.rb', line 5 def role @role end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
5 6 7 |
# File 'lib/worksnaps/user_assignment.rb', line 5 def user_id @user_id end |