Class: GenesisRuby::Api::Requests::NonFinancial::Kyc::Business::Create
- Inherits:
-
Base::NonFinancial::Kyc::Base
- Object
- GenesisRuby::Api::Request
- Base::Versioned
- Base::NonFinancial::Kyc::Base
- GenesisRuby::Api::Requests::NonFinancial::Kyc::Business::Create
- Defined in:
- lib/genesis_ruby/api/requests/non_financial/kyc/business/create.rb
Overview
Create a Business record
Constant Summary
Constants inherited from GenesisRuby::Api::Request
GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_DELETE, 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
-
#country ⇒ Object
Returns the value of attribute country.
-
#name ⇒ Object
Returns the value of attribute name.
-
#registration_number ⇒ Object
Returns the value of attribute registration_number.
Attributes inherited from Base::Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, _builder_interface = nil) ⇒ Create
constructor
Initializes the Create Business Request.
Methods inherited from Base::NonFinancial::Kyc::Base
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, _builder_interface = nil) ⇒ Create
Initializes the Create Business Request
15 16 17 18 19 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/business/create.rb', line 15 def initialize(configuration, _builder_interface = nil) super configuration self.request_path = 'businesses' end |
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
12 13 14 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/business/create.rb', line 12 def country @country end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/business/create.rb', line 12 def name @name end |
#registration_number ⇒ Object
Returns the value of attribute registration_number.
12 13 14 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/business/create.rb', line 12 def registration_number @registration_number end |