Method: ShellCardManagementApIs::PINDeliverTo#initialize
- Defined in:
- lib/shell_card_management_ap_is/models/pin_deliver_to.rb
#initialize(company_name = nil, address_line = nil, zip_code = nil, city = nil, contact_name = SKIP, contact_title = SKIP, region_id = SKIP, country_id = SKIP, phone_number = SKIP, email_address = SKIP, save_pin_reminder = SKIP) ⇒ PINDeliverTo
Returns a new instance of PINDeliverTo.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/shell_card_management_ap_is/models/pin_deliver_to.rb', line 112 def initialize(company_name = nil, address_line = nil, zip_code = nil, city = nil, contact_name = SKIP, contact_title = SKIP, region_id = SKIP, country_id = SKIP, phone_number = SKIP, email_address = SKIP, save_pin_reminder = SKIP) @contact_name = contact_name unless contact_name == SKIP @contact_title = contact_title unless contact_title == SKIP @company_name = company_name @address_line = address_line @zip_code = zip_code @city = city @region_id = region_id unless region_id == SKIP @country_id = country_id unless country_id == SKIP @phone_number = phone_number unless phone_number == SKIP @email_address = email_address unless email_address == SKIP @save_pin_reminder = save_pin_reminder unless save_pin_reminder == SKIP end |