Class: GlobalSign::OrganizationAddress
- Inherits:
-
Object
- Object
- GlobalSign::OrganizationAddress
- Defined in:
- lib/global_sign/organization_address.rb
Instance Attribute Summary collapse
-
#address_line1 ⇒ Object
Returns the value of attribute address_line1.
-
#address_line2 ⇒ Object
Returns the value of attribute address_line2.
-
#address_line3 ⇒ Object
Returns the value of attribute address_line3.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#fax ⇒ Object
Returns the value of attribute fax.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize(address_line1:, address_line2: nil, address_line3: nil, city:, region:, postal_code:, country:, phone:, fax: nil) ⇒ OrganizationAddress
constructor
A new instance of OrganizationAddress.
Constructor Details
#initialize(address_line1:, address_line2: nil, address_line3: nil, city:, region:, postal_code:, country:, phone:, fax: nil) ⇒ OrganizationAddress
Returns a new instance of OrganizationAddress.
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/global_sign/organization_address.rb', line 5 def initialize(address_line1:, address_line2: nil, address_line3: nil, city:, region:, postal_code:, country:, phone:, fax: nil) @address_line1 = address_line1 @address_line2 = address_line2 @address_line3 = address_line3 @city = city @region = region @postal_code = postal_code @country = country @phone = phone @fax = fax end |
Instance Attribute Details
#address_line1 ⇒ Object
Returns the value of attribute address_line1.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Returns the value of attribute address_line2.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def address_line2 @address_line2 end |
#address_line3 ⇒ Object
Returns the value of attribute address_line3.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def address_line3 @address_line3 end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def country @country end |
#fax ⇒ Object
Returns the value of attribute fax.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def fax @fax end |
#phone ⇒ Object
Returns the value of attribute phone.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def phone @phone end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def postal_code @postal_code end |
#region ⇒ Object
Returns the value of attribute region.
3 4 5 |
# File 'lib/global_sign/organization_address.rb', line 3 def region @region end |