Class: GenesisRuby::Api::Requests::NonFinancial::Consumers::Create
- Inherits:
-
Base::Consumer
- Object
- GenesisRuby::Api::Request
- Base::Versioned
- Base::Consumer
- GenesisRuby::Api::Requests::NonFinancial::Consumers::Create
- Includes:
- Mixins::Requests::CustomerAddress::BillingInfoAttributes, Mixins::Requests::CustomerAddress::ShippingInfoAttributes
- Defined in:
- lib/genesis_ruby/api/requests/non_financial/consumers/create.rb
Overview
Creates a consumer based on email address
Constant Summary
Constants inherited from GenesisRuby::Api::Request
GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_GET, GenesisRuby::Api::Request::METHOD_PATCH, GenesisRuby::Api::Request::METHOD_POST, GenesisRuby::Api::Request::METHOD_PUT, GenesisRuby::Api::Request::PORT_HTTPS, GenesisRuby::Api::Request::PROTOCOL_HTTPS
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
Attributes included from Mixins::Requests::CustomerAddress::ShippingInfoAttributes
#shipping_address1, #shipping_address2, #shipping_city, #shipping_country, #shipping_first_name, #shipping_last_name, #shipping_neighborhood, #shipping_state, #shipping_zip_code
Attributes included from Mixins::Requests::CustomerAddress::BillingInfoAttributes
#billing_address1, #billing_address2, #billing_city, #billing_country, #billing_first_name, #billing_last_name, #billing_neighborhood, #billing_state, #billing_zip_code
Attributes inherited from Base::Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, _builder_interface = nil) ⇒ Create
constructor
Create Consumer constructor.
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, _builder_interface = nil) ⇒ Create
Create Consumer constructor
17 18 19 20 21 |
# File 'lib/genesis_ruby/api/requests/non_financial/consumers/create.rb', line 17 def initialize(configuration, _builder_interface = nil) super configuration self.request_path = 'create_consumer' end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/consumers/create.rb', line 14 def email @email end |