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.17.0 lib/apiary/agent.rb
apiaryio-0.16.1 lib/apiary/agent.rb
apiaryio-0.16.0 lib/apiary/agent.rb
apiaryio-0.15.2 lib/apiary/agent.rb
apiaryio-0.15.1 lib/apiary/agent.rb
apiaryio-0.15.0 lib/apiary/agent.rb
apiaryio-0.14.1 lib/apiary/agent.rb
apiaryio-0.14.0 lib/apiary/agent.rb
apiaryio-0.13.0 lib/apiary/agent.rb
apiaryio-0.12.0 lib/apiary/agent.rb
apiaryio-0.11.1 lib/apiary/agent.rb
apiaryio-0.11.0 lib/apiary/agent.rb
apiaryio-0.10.2 lib/apiary/agent.rb
apiaryio-0.10.1 lib/apiary/agent.rb
apiaryio-0.9.1 lib/apiary/agent.rb
apiaryio-0.9.0 lib/apiary/agent.rb
apiaryio-0.8.1 lib/apiary/agent.rb
apiaryio-0.8.0 lib/apiary/agent.rb
apiaryio-0.7.0 lib/apiary/agent.rb
apiaryio-0.6.1 lib/apiary/agent.rb