Class: YaKassa::V3::BaseResponse

Inherits:
Object
  • Object
show all
Extended by:
Concerns::Attributable
Defined in:
lib/ya_kassa/v3/base_response.rb

Direct Known Subclasses

PaymentResponse, ReceiptResponse, RefundResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Concerns::Attributable

attributable

Constructor Details

#initialize(params = {}) ⇒ BaseResponse

Returns a new instance of BaseResponse.



8
9
10
# File 'lib/ya_kassa/v3/base_response.rb', line 8

def initialize(params = {})
  @params = params
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



6
7
8
# File 'lib/ya_kassa/v3/base_response.rb', line 6

def params
  @params
end