Sha256: c9eb7fc5abd63ffb5e7b5d8ffe89711832df3365bea3806cb78cea5471262d69

Contents?: true

Size: 888 Bytes

Versions: 6

Compression:

Stored size: 888 Bytes

Contents

module Assistly
  # Wrapper for the Assistly REST API
  #
  # @note All methods have been separated into modules and follow the same grouping used in {http://dev.assistly.com/doc the Assistly API Documentation}.
  # @see http://dev.assistly.com/pages/every_developer
  class Client < API
    # Require client method modules after initializing the Client class in
    # order to avoid a superclass mismatch error, allowing those modules to be
    # Client-namespaced.
    require 'assistly/client/utils'
    require 'assistly/client/user'
    require 'assistly/client/interaction'
    require 'assistly/client/case'
    require 'assistly/client/customer'

    alias :api_endpoint :endpoint

    include Assistly::Client::Utils

    include Assistly::Client::User
    include Assistly::Client::Interaction
    include Assistly::Client::Case
    include Assistly::Client::Customer
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
assistly-0.1.5 lib/assistly/client.rb
assistly-0.1.4 lib/assistly/client.rb
assistly-0.1.3 lib/assistly/client.rb
assistly-0.1.2 lib/assistly/client.rb
assistly-0.1.1 lib/assistly/client.rb
assistly-0.1 lib/assistly/client.rb