module PaxfulClient class Client include APIClientBase::Client.module(default_opts: :default_opts) api_action :get_balance attribute :host, String attribute :key, String attribute :secret, String private def default_opts { host: host, key: key, secret: secret } end end end