Class: Fishbowl::Objects::AddressInformation
- Inherits:
-
BaseObject
- Object
- BaseObject
- Fishbowl::Objects::AddressInformation
- Defined in:
- lib/fishbowl/objects/address.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#db_id ⇒ Object
readonly
Returns the value of attribute db_id.
-
#default ⇒ Object
readonly
Returns the value of attribute default.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(address_info_xml) ⇒ AddressInformation
constructor
A new instance of AddressInformation.
Methods inherited from BaseObject
Constructor Details
#initialize(address_info_xml) ⇒ AddressInformation
Returns a new instance of AddressInformation.
80 81 82 83 84 |
# File 'lib/fishbowl/objects/address.rb', line 80 def initialize(address_info_xml) @xml = address_info_xml parse_attributes self end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
74 75 76 |
# File 'lib/fishbowl/objects/address.rb', line 74 def data @data end |
#db_id ⇒ Object (readonly)
Returns the value of attribute db_id.
74 75 76 |
# File 'lib/fishbowl/objects/address.rb', line 74 def db_id @db_id end |
#default ⇒ Object (readonly)
Returns the value of attribute default.
74 75 76 |
# File 'lib/fishbowl/objects/address.rb', line 74 def default @default end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
74 75 76 |
# File 'lib/fishbowl/objects/address.rb', line 74 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
74 75 76 |
# File 'lib/fishbowl/objects/address.rb', line 74 def type @type end |
Class Method Details
.attributes ⇒ Object
76 77 78 |
# File 'lib/fishbowl/objects/address.rb', line 76 def self.attributes %w{ID Name Data Default Type} end |