Class: YaKassa::V3::BaseResponse
- Inherits:
-
Object
- Object
- YaKassa::V3::BaseResponse
- Extended by:
- Concerns::Attributable
- Defined in:
- lib/ya_kassa/v3/base_response.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ BaseResponse
constructor
A new instance of BaseResponse.
Methods included from Concerns::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
#params ⇒ Object (readonly)
Returns the value of attribute params.
6 7 8 |
# File 'lib/ya_kassa/v3/base_response.rb', line 6 def params @params end |