lib/smartdc/api/analytics/instrumentations.rb in smartdc-0.3.0 vs lib/smartdc/api/analytics/instrumentations.rb in smartdc-0.4.0
- old
+ new
@@ -16,15 +16,14 @@
raise ArgumentError unless id
request.get('my/analytics/instrumentations/' + id.to_s)
end
def find(params={})
- request.get('my/analytics/instrumentations/', params)
+ request.get('my/analytics/instrumentations', params)
end
def delete
request.delete('my/analytics/instrumentations/' + id.to_s)
- request.response.status == 204 ? true : false
end
def value
raise ArgumentError unless id
request.get('my/analytics/instrumentations/' + id.to_s + '/value/raw')
\ No newline at end of file