Skip to content

Commit

Permalink
Removed mention of service value. It is no more...
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Nov 3, 2011
1 parent 7c845b0 commit 099e483
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 4 additions & 5 deletions examples/gauges.rb
Expand Up @@ -6,20 +6,19 @@
ga = Gauges.new(:email => 'john@orderedlist.com', :password => 'testing')

puts 'Listing gauges'
pp ga.gauges.map { |gauge| gauge['service_value'] }
pp ga.gauges.map { |gauge| gauge['title'] }
puts

puts 'Creating gauge'
gauge = ga.create_gauge({
:title => 'Testing',
:service_value => 'testing.com',
:tz => 'Eastern Time (US & Canada)'
:title => 'Testing',
:tz => 'Eastern Time (US & Canada)'
})
pp gauge['title']
puts

puts 'Listing gauges'
pp ga.gauges.map { |gauge| gauge['service_value'] }
pp ga.gauges.map { |gauge| gauge['title'] }
puts

puts 'Get gauge'
Expand Down
5 changes: 2 additions & 3 deletions spec/gauges_spec.rb
Expand Up @@ -309,9 +309,8 @@
stub_post('https://secure.gaug.es/gauges', :gauge_create_invalid)
@client = Gauges.new(:token => 'asdf')
@response = @client.create_gauge({
:title => 'Testing',
:service_value => 'testing.com',
:tz => 'PooPoo'
:title => 'Testing',
:tz => 'PooPoo'
})
end

Expand Down

0 comments on commit 099e483

Please sign in to comment.