Class: Inttegro::Resources::Balances

Inherits:
Object
  • Object
show all
Defined in:
lib/inttegro/resources/balances.rb

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ Balances

Returns a new instance of Balances.



7
8
9
# File 'lib/inttegro/resources/balances.rb', line 7

def initialize(http)
  @http = T.let(http, Inttegro::HTTPClient)
end

Instance Method Details

#getObject



11
12
13
# File 'lib/inttegro/resources/balances.rb', line 11

def get
  @http.post_model("/balances", Inttegro::BalanceSnapshot, {})
end