Class: Connectwise::Member
- Inherits:
-
Object
- Object
- Connectwise::Member
- Includes:
- Model
- Defined in:
- lib/connectwise/member.rb
Instance Attribute Summary collapse
-
#email_address ⇒ Object
Returns the value of attribute email_address.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
Class Method Summary collapse
Methods included from Model
#defined_attributes, #destroy, included, #initialize, #persisted?, #save, #to_cw_h, #to_h
Instance Attribute Details
#email_address ⇒ Object
Returns the value of attribute email_address.
4 5 6 |
# File 'lib/connectwise/member.rb', line 4 def email_address @email_address end |
#first_name ⇒ Object
Returns the value of attribute first_name.
4 5 6 |
# File 'lib/connectwise/member.rb', line 4 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/connectwise/member.rb', line 4 def id @id end |
#last_name ⇒ Object
Returns the value of attribute last_name.
4 5 6 |
# File 'lib/connectwise/member.rb', line 4 def last_name @last_name end |
Class Method Details
.find_transform(attrs) ⇒ Object
6 7 8 9 |
# File 'lib/connectwise/member.rb', line 6 def self.find_transform(attrs) attrs[:id] = attrs.delete(:member_id) attrs end |