Sha256: d137cd168708fe934e0e441f840d6dd141c18fa1ea589af81245a1824a7a750d

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

require 'thanos/version'
require 'thanos/authentication'
require 'thanos/client'

module Thanos
  class << self
    attr_accessor :authentication

    def authenticate
      self.authentication ||= Authentication.new
      yield(authentication)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 lib/thanos.rb
thanos-0.5.0 lib/thanos.rb