Class: GlobalSign::OrganizationInfoEV
- Inherits:
-
Object
- Object
- GlobalSign::OrganizationInfoEV
- Defined in:
- lib/global_sign/organization_info_ev.rb,
lib/global_sign/organization_info_ev/business_category_code.rb
Defined Under Namespace
Modules: BusinessCategoryCode
Instance Attribute Summary collapse
-
#business_assumed_name ⇒ Object
Returns the value of attribute business_assumed_name.
-
#business_category_code ⇒ Object
Returns the value of attribute business_category_code.
-
#credit_agency ⇒ Object
Returns the value of attribute credit_agency.
-
#organization_address ⇒ Object
Returns the value of attribute organization_address.
-
#organization_code ⇒ Object
Returns the value of attribute organization_code.
Instance Method Summary collapse
-
#initialize(credit_agency: nil, organization_code: nil, business_assumed_name: nil, business_category_code:, organization_address:) ⇒ OrganizationInfoEV
constructor
A new instance of OrganizationInfoEV.
- #organization_address_params(organization_address) ⇒ Object
Constructor Details
#initialize(credit_agency: nil, organization_code: nil, business_assumed_name: nil, business_category_code:, organization_address:) ⇒ OrganizationInfoEV
Returns a new instance of OrganizationInfoEV.
6 7 8 9 10 11 12 |
# File 'lib/global_sign/organization_info_ev.rb', line 6 def initialize(credit_agency: nil, organization_code: nil, business_assumed_name: nil, business_category_code:, organization_address:) @credit_agency = credit_agency @organization_code = organization_code @business_assumed_name = business_assumed_name @business_category_code = business_category_code @organization_address = organization_address_params(organization_address) end |
Instance Attribute Details
#business_assumed_name ⇒ Object
Returns the value of attribute business_assumed_name.
3 4 5 |
# File 'lib/global_sign/organization_info_ev.rb', line 3 def business_assumed_name @business_assumed_name end |
#business_category_code ⇒ Object
Returns the value of attribute business_category_code.
3 4 5 |
# File 'lib/global_sign/organization_info_ev.rb', line 3 def business_category_code @business_category_code end |
#credit_agency ⇒ Object
Returns the value of attribute credit_agency.
3 4 5 |
# File 'lib/global_sign/organization_info_ev.rb', line 3 def credit_agency @credit_agency end |
#organization_address ⇒ Object
Returns the value of attribute organization_address.
3 4 5 |
# File 'lib/global_sign/organization_info_ev.rb', line 3 def organization_address @organization_address end |
#organization_code ⇒ Object
Returns the value of attribute organization_code.
3 4 5 |
# File 'lib/global_sign/organization_info_ev.rb', line 3 def organization_code @organization_code end |
Instance Method Details
#organization_address_params(organization_address) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/global_sign/organization_info_ev.rb', line 14 def organization_address_params(organization_address) { AddressLine1: organization_address.address_line1, AddressLine2: organization_address.address_line2, AddressLine3: organization_address.address_line3, City: organization_address.city, Region: organization_address.region, PostalCode: organization_address.postal_code, Country: organization_address.country, Phone: organization_address.phone, Fax: organization_address.fax } end |