Module: YaKassa::V3::Concerns::Attributable
- Included in:
- BaseRequest, BaseResponse, ReceiptResponse
- Defined in:
- lib/ya_kassa/v3/concerns/attributable.rb
Instance Method Summary collapse
Instance Method Details
#attributable(name, params = {}) ⇒ Object
5 6 7 |
# File 'lib/ya_kassa/v3/concerns/attributable.rb', line 5 def attributable(name, params = {}) define_attr_method(name, params[:default]) end |