Class: MemberRolesObject
- Inherits:
-
Object
- Object
- MemberRolesObject
- Includes:
- DataFactory, Foundry, StringFactory
- Defined in:
- lib/kuality-coeus/data_objects/committee_document/member_roles.rb
Instance Attribute Summary collapse
-
#document_id ⇒ Object
Returns the value of attribute document_id.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#role ⇒ Object
Returns the value of attribute role.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(browser, opts = {}) ⇒ MemberRolesObject
constructor
A new instance of MemberRolesObject.
Constructor Details
#initialize(browser, opts = {}) ⇒ MemberRolesObject
Returns a new instance of MemberRolesObject.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 9 def initialize(browser, opts={}) @browser = browser defaults = { } (defaults.merge(opts)) requires :name, :document_id end |
Instance Attribute Details
#document_id ⇒ Object
Returns the value of attribute document_id.
7 8 9 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 7 def document_id @document_id end |
#end_date ⇒ Object
Returns the value of attribute end_date.
7 8 9 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 7 def end_date @end_date end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 7 def name @name end |
#role ⇒ Object
Returns the value of attribute role.
7 8 9 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 7 def role @role end |
#start_date ⇒ Object
Returns the value of attribute start_date.
7 8 9 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 7 def start_date @start_date end |
Instance Method Details
#create ⇒ Object
20 21 22 |
# File 'lib/kuality-coeus/data_objects/committee_document/member_roles.rb', line 20 def create end |