Class: Pokepay::Response::Banks

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/banks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#countObject (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

#rowsObject (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