level3-api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/level3_rtm_stats +1 -1
  2. metadata +1 -1
@@ -3,7 +3,7 @@
3
3
  require 'level3-api'
4
4
  require 'json'
5
5
 
6
- l3 = Level3.new(ENV['LEVEL3APIKEY'],ENV['LEVEL3APISECRET'])
6
+ l3 = Level3Api.new(ENV['LEVEL3APIKEY'],ENV['LEVEL3APISECRET'])
7
7
  accessgroups = l3.request('/accessGroups',"/v1.0") # --TODO assuming only 1 for now
8
8
  stats = l3.request('/rtm/cdn',"/v1.0/#{accessgroups['id']}","GET",{'serviceType'=>'c','property'=>'true'})
9
9
  puts JSON.pretty_generate stats
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: level3-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: