1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

more instrumentation stuff

This commit is contained in:
Kevin Olbrich 2013-12-12 19:45:05 +00:00
parent df73f445d7
commit 62bb091fd3
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,16 @@
module Fog
module Joyent
class Analytics
class Real
def create_instrumentation(values = {})
request(
:path => "#{@joyent_username}/analytics/instrumentations",
:method => "POST",
:body => values,
:expects => 200
)
end
end
end
end
end

View file

@ -0,0 +1,15 @@
module Fog
module Joyent
class Analytics
class Real
def get_instrumentation(id)
request(
:path => "#{@joyent_username}/analytics/instrumentations/#{id}",
:method => "GET",
:expects => 200
)
end
end
end
end
end