Class: Pokepay::Response::Banks
- Inherits:
-
Object
- Object
- Pokepay::Response::Banks
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/banks.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(row) ⇒ Banks
constructor
A new instance of Banks.
Constructor Details
#initialize(row) ⇒ Banks
Returns a new instance of Banks.
6 7 8 9 |
# File 'lib/pokepay_partner_ruby_sdk/response/banks.rb', line 6 def initialize(row) @rows = row["rows"] @count = row["count"] end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/response/banks.rb', line 11 def count @count end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
10 11 12 |
# File 'lib/pokepay_partner_ruby_sdk/response/banks.rb', line 10 def rows @rows end |