Class: Tandarb::Storestat
Constant Summary
Constants inherited from Client
Instance Method Summary collapse
- #create(body, datastream_id) ⇒ Object
-
#initialize(token) ⇒ Storestat
constructor
A new instance of Storestat.
Methods inherited from Client
Constructor Details
#initialize(token) ⇒ Storestat
Returns a new instance of Storestat.
3 4 5 |
# File 'lib/tandarb/storestat.rb', line 3 def initialize(token) @token = token end |
Instance Method Details
#create(body, datastream_id) ⇒ Object
7 8 9 |
# File 'lib/tandarb/storestat.rb', line 7 def create(body, datastream_id) post("/storestats/for_datastream/#{datastream_id}", body, @token) end |