Class: Connectwise::Contact
- Inherits:
-
Object
- Object
- Connectwise::Contact
- Includes:
- Model
- Defined in:
- lib/connectwise/contact.rb
Instance Attribute Summary collapse
-
#address_line1 ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#address_line2 ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#city ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#company_id ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#company_name ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#country ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#default_flag ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#disable_portal_login ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#email ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#first_name ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#id ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#last_name ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#last_update ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#phone ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#portal_security_caption ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#portal_security_level ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#relationship ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#state ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#type ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
-
#zip ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize.
Instance Method Summary collapse
-
#company=(company) ⇒ Object
TODO - add company accessor and make use of company rec id - either run another query to create it, or find a way to defer until company is asked for.
Methods included from Model
#defined_attributes, #destroy, included, #initialize, #persisted?, #save, #to_h
Instance Attribute Details
#address_line1 ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def address_line2 @address_line2 end |
#city ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def city @city end |
#company_id ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def company_id @company_id end |
#company_name ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def company_name @company_name end |
#country ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def country @country end |
#default_flag ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def default_flag @default_flag end |
#disable_portal_login ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def disable_portal_login @disable_portal_login end |
#email ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def email @email end |
#first_name ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def first_name @first_name end |
#id ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def id @id end |
#last_name ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def last_name @last_name end |
#last_update ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def last_update @last_update end |
#phone ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def phone @phone end |
#portal_security_caption ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def @portal_security_caption end |
#portal_security_level ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def portal_security_level @portal_security_level end |
#relationship ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def relationship @relationship end |
#state ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def state @state end |
#type ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def type @type end |
#zip ⇒ Object
TODO - email or email_address - Member uses email_address, while here it’s email - normalize
5 6 7 |
# File 'lib/connectwise/contact.rb', line 5 def zip @zip end |
Instance Method Details
#company=(company) ⇒ Object
TODO - add company accessor and make use of company rec id - either run another query to create it, or find a way to defer until company is asked for
9 10 11 |
# File 'lib/connectwise/contact.rb', line 9 def company=(company) @company = company end |