Class: WorkSnaps::UserAssignment

Inherits:
Base
  • Object
show all
Defined in:
lib/worksnaps/user_assignment.rb

Instance Attribute Summary collapse

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_rateObject (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

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/worksnaps/user_assignment.rb', line 5

def id
  @id
end

#project_idObject (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

#roleObject (readonly)

Returns the value of attribute role.



5
6
7
# File 'lib/worksnaps/user_assignment.rb', line 5

def role
  @role
end

#user_idObject (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