Method: Fcoin::Authorization#initialize
- Defined in:
- lib/fcoin/authorization.rb
#initialize(http_method:, path:, payload:, endpoint:, api_key:, secret_key:) ⇒ Authorization
Returns a new instance of Authorization.
14 15 16 17 18 19 20 21 |
# File 'lib/fcoin/authorization.rb', line 14 def initialize(http_method:, path:, payload:, endpoint:, api_key:, secret_key:) self.http_method = http_method self.path = path self.payload = payload self.endpoint = endpoint self.api_key = api_key self.secret_key = secret_key end |