Sha256: ccddc786e9b1b518fe8163e26c4e326f2a63bda77a64e7b09585008bc6c78f47
Contents?: true
Size: 239 Bytes
Versions: 3
Compression:
Stored size: 239 Bytes
Contents
module Apiary USER_AGENT = "apiaryio-gem/#{Apiary::VERSION} (#{RUBY_PLATFORM}) ruby/#{RUBY_VERSION}" module_function def user_agent @@user_agent ||= USER_AGENT end def user_agent=(agent) @@user_agent = agent end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apiaryio-0.4.2 | lib/apiary/agent.rb |
apiaryio-0.4.1 | lib/apiary/agent.rb |
apiaryio-0.4.0-x86_64-darwin-13 | lib/apiary/agent.rb |