Class: Pokepay::Request::CreateOrganization
- Defined in:
- lib/pokepay_partner_ruby_sdk/request/create_organization.rb
Instance Attribute Summary collapse
-
#response_class ⇒ Object
readonly
Returns the value of attribute response_class.
Attributes inherited from Request
Instance Method Summary collapse
-
#initialize(code, name, private_money_ids, issuer_admin_user_email, member_admin_user_email, rest_args = {}) ⇒ CreateOrganization
constructor
A new instance of CreateOrganization.
Constructor Details
#initialize(code, name, private_money_ids, issuer_admin_user_email, member_admin_user_email, rest_args = {}) ⇒ CreateOrganization
Returns a new instance of CreateOrganization.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/request/create_organization.rb', line 7 def initialize(code, name, private_money_ids, issuer_admin_user_email, member_admin_user_email, rest_args = {}) @path = "/organizations" @method = "POST" @body_params = { "code" => code, "name" => name, "private_money_ids" => private_money_ids, "issuer_admin_user_email" => issuer_admin_user_email, "member_admin_user_email" => member_admin_user_email }.merge(rest_args) @response_class = Pokepay::Response::Organization end |
Instance Attribute Details
#response_class ⇒ Object (readonly)
Returns the value of attribute response_class.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/request/create_organization.rb', line 17 def response_class @response_class end |