Class: HelpScout::Customer::Website
- Inherits:
-
Object
- Object
- HelpScout::Customer::Website
- Defined in:
- lib/helpscout/models.rb
Overview
Customer::Website developer.helpscout.net/objects/customer/website/
Name Type Example Notes
id Int 5584 Unique identifier
value String http://www.somewhere.com
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(object) ⇒ Website
constructor
Creates a new Customer::Website object from a Hash of attributes.
Constructor Details
#initialize(object) ⇒ Website
Creates a new Customer::Website object from a Hash of attributes
812 813 814 815 |
# File 'lib/helpscout/models.rb', line 812 def initialize(object) @id = object["id"] @value = object["value"] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
809 810 811 |
# File 'lib/helpscout/models.rb', line 809 def id @id end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
809 810 811 |
# File 'lib/helpscout/models.rb', line 809 def value @value end |