Module: Localeapp::ApiCall
- Included in:
- CLI::Pull, CLI::Push, CLI::Remove, CLI::Rename, KeyChecker, Poller, Sender
- Defined in:
- lib/localeapp/api_call.rb
Instance Method Summary collapse
-
#api_call(endpoint, options = {}) ⇒ Object
creates an object to perform the call.
Instance Method Details
#api_call(endpoint, options = {}) ⇒ Object
creates an object to perform the call
4 5 6 7 |
# File 'lib/localeapp/api_call.rb', line 4 def api_call(endpoint, = {}) api_caller = Localeapp::ApiCaller.new(endpoint, ) api_caller.call(self) end |