Module: RubyAWS

Defined in:
lib/ruby-aws/version.rb,
lib/ruby-aws.rb

Overview

Copyright

Copyright © 2007-2014 Amazon Technologies, Inc.

License

Apache License, Version 2.0

Constant Summary collapse

VERSION =
'1.7.1'.freeze

Class Method Summary collapse

Class Method Details

.agent(software_name = "") ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/ruby-aws.rb', line 8

def self.agent(software_name="")
  version = "ruby-aws/#{RubyAWS::VERSION}"
  if software_name.to_s == ""
    version
  else
    "#{version} #{software_name}"
  end
end