Sha256: 5c1372c857263f709666330de45741e0b349577106d4151ff4addae39f9c39b7

Contents?: true

Size: 466 Bytes

Versions: 3

Compression:

Stored size: 466 Bytes

Contents

require 'jortt/client'
require 'jortt/client/version'

##
# This module contains everything needed to setup a connection to the Jortt
# API. It's only method returns a configured Jortt::Client.
module Jortt

  # Convenient way to initialize a jortt client.
  #
  # @see {Jortt::Client.initialize}
  #
  # @return [ Jortt::Client ] a new jortt client instance
  #
  # @since 1.0.1
  def client(*args)
    Jortt::Client.new(*args)
  end
  module_function :client

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jortt-6.1.0 lib/jortt.rb
jortt-6.0.0 lib/jortt.rb
jortt-5.0.0 lib/jortt.rb