class Bci::Stats
The class for BCI indicadores API
Public Instance Methods
atm()
click to toggle source
# File lib/bci/stats.rb, line 25 def atm local_url = "#{url}/cajeros" response_checker(connector.get(local_url, headers)) rescue RestClient::InternalServerError => e puts e end
branch_offices()
click to toggle source
# File lib/bci/stats.rb, line 18 def branch_offices local_url = "#{url}/sucursales" response_checker(connector.get(local_url, headers)) rescue RestClient::InternalServerError => e puts e end
indicators()
click to toggle source
# File lib/bci/stats.rb, line 10 def indicators local_url = "#{url}/indicadores" puts local_url response_checker(connector.get(local_url, headers)) rescue RestClient::InternalServerError => e puts e end
submodule()
click to toggle source
# File lib/bci/stats.rb, line 6 def submodule 'info-banco' end