Class: FundAmerica::ApiInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/fund_america/api_info.rb

Class Method Summary collapse

Class Method Details

.infoObject

End point: apps.fundamerica.com/api/info (GET) Usage: FundAmerica::ApiInfo.info Output: Gives the account name, user name and api version details Description: This method makes a call to request method The API class request method is a common method that takes care of making API request, handling response and errors



11
12
13
# File 'lib/fund_america/api_info.rb', line 11

def info
  API::request(:get, 'info')
end