Class: CurrencyConversion::StatusEndpoint

Inherits:
Resource
  • Object
show all
Defined in:
lib/currency-conversion/endpoints/status.rb

Overview

Status Endpoint

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from CurrencyConversion::Resource

Instance Method Details

#retrieveStatus

Returns your current quota

Returns:



9
10
11
# File 'lib/currency-conversion/endpoints/status.rb', line 9

def retrieve
  Status.new get_request('status').body
end