Sha256: d399be56d7cdb6b4d118d96f646104fc5b05e356a4722910b9eb2d6672b71afd

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

require "json"
require "api_client_base"

require "btfy_client/version"
require "btfy_client/client"

require "btfy_client/models/link"
require "btfy_client/requests/base_request"
require "btfy_client/requests/create_link_request"
require "btfy_client/responses/create_link_response"

BTFY_CLIENT_DIR = Pathname.new(File.dirname(__FILE__)).
  join("btfy_client")

%w(models requests responses).each do |dir|
  Dir[BTFY_CLIENT_DIR.join(dir, "*.rb")].each { |f| require f }
end

module BtfyClient

  include APIClientBase::Base.module

  with_configuration do
    has :host,      classes: String
    has :api_token, classes: String
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
btfy_client-0.4.0 lib/btfy_client.rb