Sha256: e4e5f19ed71a361e82205f6bdb31099de793a8e212eef1db3ef802f37fef3577

Contents?: true

Size: 988 Bytes

Versions: 2

Compression:

Stored size: 988 Bytes

Contents

##
#
# requires outside this gem folder
#
require 'net/http'
require 'json'
require 'base64'

##
#
# requires of this gem classes
#
require 'tessera/version'
require 'tessera/configuration'

require 'tessera/utils/errors'

require 'tessera/request'

require 'tessera/api/session'
require 'tessera/api/ticket_get'
require 'tessera/api/ticket_list'
require 'tessera/api/ticket_search'
require 'tessera/api/ticket_create'

require 'tessera/model/base'
require 'tessera/model/session'
require 'tessera/model/ticket'

require 'tessera/otrs/base'
require 'tessera/otrs/ticket'
require 'tessera/otrs/article'
require 'tessera/otrs/attachment'

require 'tessera/ticket'

##
#
# Main module of OTRS wrapper
#
# See 'tessera/configuration.rb' for more explanation how to set configuration
#
module Tessera
  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.reset
    @configuration = Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tessera-1.0.1 lib/tessera.rb
tessera-1.0.0 lib/tessera.rb