Sha256: b617e6320c02f9a483daca2f23408fad0d1d9c35b1c16442b33412972131ae70

Contents?: true

Size: 246 Bytes

Versions: 24

Compression:

Stored size: 246 Bytes

Contents

module Apiary
  USER_AGENT = "apiaryio-gem/#{Apiary::VERSION} (#{RUBY_PLATFORM}) ruby/#{RUBY_VERSION}".freeze

  module_function

  def user_agent
    @@user_agent ||= USER_AGENT
  end

  def user_agent=(agent)
    @@user_agent = agent
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
apiaryio-0.6.0 lib/apiary/agent.rb
apiaryio-0.5.2 lib/apiary/agent.rb
apiaryio-0.5.1 lib/apiary/agent.rb
apiaryio-0.5.0 lib/apiary/agent.rb