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