Class: GlobalSign::OrganizationAddress

Inherits:
Object
  • Object
show all
Defined in:
lib/global_sign/organization_address.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_line1Object

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_line2Object

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_line3Object

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

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/global_sign/organization_address.rb', line 3

def city
  @city
end

#countryObject

Returns the value of attribute country.



3
4
5
# File 'lib/global_sign/organization_address.rb', line 3

def country
  @country
end

#faxObject

Returns the value of attribute fax.



3
4
5
# File 'lib/global_sign/organization_address.rb', line 3

def fax
  @fax
end

#phoneObject

Returns the value of attribute phone.



3
4
5
# File 'lib/global_sign/organization_address.rb', line 3

def phone
  @phone
end

#postal_codeObject

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

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/global_sign/organization_address.rb', line 3

def region
  @region
end