Module: RSpec::Statsd
- Extended by:
- Statsd
- Included in:
- Statsd
- Defined in:
- lib/rspec-statsd.rb,
lib/rspec-statsd/version.rb,
lib/rspec-statsd/formatter.rb
Defined Under Namespace
Classes: Formatter
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Attribute Summary collapse
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#metric ⇒ Object
Returns the value of attribute metric.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#base_uri ⇒ Object
Returns the value of attribute base_uri.
9 10 11 |
# File 'lib/rspec-statsd.rb', line 9 def base_uri @base_uri end |
#metric ⇒ Object
Returns the value of attribute metric.
9 10 11 |
# File 'lib/rspec-statsd.rb', line 9 def metric @metric end |
#password ⇒ Object
Returns the value of attribute password.
9 10 11 |
# File 'lib/rspec-statsd.rb', line 9 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
9 10 11 |
# File 'lib/rspec-statsd.rb', line 9 def username @username end |
Instance Method Details
#client ⇒ Object
11 12 13 14 |
# File 'lib/rspec-statsd.rb', line 11 def client @client ||= HttpStatsd::Client.new(:base_uri => base_uri, :username => username, :password => password) end |