Class: GenesisRuby::Api::Requests::NonFinancial::Payee::Owners::CreateOwnerDocument
- Inherits:
-
Base::NonFinancial::Payee::Base
- Object
- GenesisRuby::Api::Request
- Base::NonFinancial::Payee::Base
- GenesisRuby::Api::Requests::NonFinancial::Payee::Owners::CreateOwnerDocument
- Defined in:
- lib/genesis_ruby/api/requests/non_financial/payee/owners/create_owner_document.rb
Overview
Create a Document for a specific Owner.
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
-
#document_type ⇒ Object
Returns the value of attribute document_type.
-
#file ⇒ Object
Returns the value of attribute file.
-
#owner_unique_id ⇒ Object
Returns the value of attribute owner_unique_id.
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, _builder_interface = nil) ⇒ CreateOwnerDocument
constructor
Create Owner Document initialization.
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, _builder_interface = nil) ⇒ CreateOwnerDocument
Create Owner Document initialization
17 18 19 20 21 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create_owner_document.rb', line 17 def initialize(configuration, _builder_interface = nil) super configuration self.request_path = 'payee/owners/:owner_unique_id/documents' end |
Instance Attribute Details
#document_type ⇒ Object
Returns the value of attribute document_type.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create_owner_document.rb', line 14 def document_type @document_type end |
#file ⇒ Object
Returns the value of attribute file.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create_owner_document.rb', line 14 def file @file end |
#owner_unique_id ⇒ Object
Returns the value of attribute owner_unique_id.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create_owner_document.rb', line 14 def owner_unique_id @owner_unique_id end |