Module: Tessera

Defined in:
lib/tessera.rb,
lib/tessera/ticket.rb,
lib/tessera/request.rb,
lib/tessera/version.rb,
lib/tessera/otrs/base.rb,
lib/tessera/model/base.rb,
lib/tessera/api/session.rb,
lib/tessera/otrs/ticket.rb,
lib/tessera/model/ticket.rb,
lib/tessera/otrs/article.rb,
lib/tessera/utils/errors.rb,
lib/tessera/configuration.rb,
lib/tessera/model/session.rb,
lib/tessera/api/ticket_get.rb,
lib/tessera/api/ticket_list.rb,
lib/tessera/otrs/attachment.rb,
lib/tessera/api/ticket_create.rb,
lib/tessera/api/ticket_search.rb

Overview

Class for searching through tickets

as params hash any of these in official docs could be used:
http://doc.otrs.com/doc/api/otrs/5.0/Perl/Kernel/GenericInterface/Operation/Ticket/TicketSearch.pm.html

Defined Under Namespace

Modules: Api, Model, Otrs Classes: ConfigNotSet, Configuration, Error, Request, Ticket, TicketNotFound

Constant Summary collapse

VERSION =
'1.0.1'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject



44
45
46
# File 'lib/tessera.rb', line 44

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



52
53
54
# File 'lib/tessera.rb', line 52

def self.configure
  yield(configuration)
end

.resetObject



48
49
50
# File 'lib/tessera.rb', line 48

def self.reset
  @configuration = Configuration.new
end