Sha256: 3911c2e58b881783bf67ca20bcdc837e67b7b9cf226f88bcb2f5c5a9388800d0

Contents?: true

Size: 228 Bytes

Versions: 57

Compression:

Stored size: 228 Bytes

Contents

module Localeapp
  module ApiCall
    # creates an object to perform the call
    def api_call(endpoint, options = {})
      api_caller = Localeapp::ApiCaller.new(endpoint, options)
      api_caller.call(self)
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
localeapp-3.3.0 lib/localeapp/api_call.rb
localeapp-3.2.0 lib/localeapp/api_call.rb
localeapp-3.1.3 lib/localeapp/api_call.rb
localeapp-3.1.2 lib/localeapp/api_call.rb
localeapp-3.1.1 lib/localeapp/api_call.rb
localeapp-3.1.0 lib/localeapp/api_call.rb
localeapp-3.0.1 lib/localeapp/api_call.rb
localeapp-3.0.0 lib/localeapp/api_call.rb
localeapp-2.5.0 lib/localeapp/api_call.rb
localeapp-2.4.0 lib/localeapp/api_call.rb
localeapp-2.3.0 lib/localeapp/api_call.rb
localeapp-2.2.0 lib/localeapp/api_call.rb
localeapp-2.1.1 lib/localeapp/api_call.rb
localeapp-2.1.0 lib/localeapp/api_call.rb
localeapp-2.0.0 lib/localeapp/api_call.rb
localeapp-1.0.2 lib/localeapp/api_call.rb
localeapp-1.0.1 lib/localeapp/api_call.rb
localeapp-1.0.0 lib/localeapp/api_call.rb
localeapp-0.9.3 lib/localeapp/api_call.rb
localeapp-0.9.2 lib/localeapp/api_call.rb