Sha256: 2e5e5cfa6af0b95a381c2a14c5155d9928e35bbe674812574018e50ac01cc386

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 Bytes

Contents

# encoding: utf-8

require 'hashie'
require 'httparty'
require 'json'


require 'jiralicious/parsers/field_parser'
require 'jiralicious/errors'
require 'jiralicious/issue'
require 'jiralicious/search'
require 'jiralicious/search_result'
require 'jiralicious/session'
require 'jiralicious/basic_session'
require 'jiralicious/cookie_session'


module Jiralicious
  extend Configuration
  extend self

  def session
    session_type = "#{self.auth_type.to_s.capitalize}Session"
    @session ||= Jiralicious.const_get(session_type).new
  end

  def rest_path
    "#{self.uri}/rest/api/#{self.api_version}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jiralicious-0.1.0 lib/jiralicious.rb