class ExmoApi::Client

Attributes

config[R]

Public Class Methods

new(config) click to toggle source
# File lib/exmo_api/client.rb, line 5
def initialize(config)
  @config = config
end

Public Instance Methods

call(api_method, params) click to toggle source
# File lib/exmo_api/client.rb, line 9
def call(api_method, params)
  request = ExmoApi::Request.new(api_method, params)
  request.config = config

  request.perform
end