Sha256: 1506a8fa3896542b45b89c43e40ef734c7726ab20fe65917656dfd74b34aef5d

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

module XEClient
  class Client

    include APIClientBase::Client.module(default_opts: :default_opts)
    attribute :host, String
    attribute :account_id, String
    attribute :api_key, String

    api_action :convert_from
    api_action :historic_rate_period

    private

    def default_opts
      { host: host, account_id: account_id, api_key: api_key }
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xe_client-1.1.1 lib/xe_client/client.rb
xe_client-1.1.0 lib/xe_client/client.rb
xe_client-1.0.1 lib/xe_client/client.rb
xe_client-1.0.0 lib/xe_client/client.rb