Class: MPIClient::AccountManagement::Request

Inherits:
BaseRequest
  • Object
show all
Defined in:
lib/mpi_client/account_management/request.rb

Constant Summary collapse

FILTERED_FIELDS =
%w(Password PublicCertificate PrivateKey)
CLIENT_METHODS =
%w(create_account get_account_info update_account delete_account verify)

Instance Attribute Summary

Attributes inherited from BaseRequest

#connection

Instance Method Summary collapse

Methods inherited from BaseRequest

#initialize

Constructor Details

This class inherits a constructor from MPIClient::BaseRequest

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



7
8
9
# File 'lib/mpi_client/account_management/request.rb', line 7

def method_missing(method, *args)
  submit_request(method, *args) if CLIENT_METHODS.include?(method.to_s)
end