Class: Pokepay::Request::RequestUserStats
- Defined in:
- lib/pokepay_partner_ruby_sdk/request/request_user_stats.rb
Instance Attribute Summary collapse
-
#response_class ⇒ Object
readonly
Returns the value of attribute response_class.
Attributes inherited from Request
Instance Method Summary collapse
-
#initialize(from, to) ⇒ RequestUserStats
constructor
A new instance of RequestUserStats.
Constructor Details
#initialize(from, to) ⇒ RequestUserStats
Returns a new instance of RequestUserStats.
7 8 9 10 11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/request/request_user_stats.rb', line 7 def initialize(from, to) @path = "/user-stats" @method = "POST" @body_params = { "from" => from, "to" => to } @response_class = Pokepay::Response::UserStatsOperation end |
Instance Attribute Details
#response_class ⇒ Object (readonly)
Returns the value of attribute response_class.
14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/request/request_user_stats.rb', line 14 def response_class @response_class end |