class Tandarb::Storestat

Public Class Methods

new(token) click to toggle source
# File lib/tandarb/storestat.rb, line 3
def initialize(token)
  @token = token
end

Public Instance Methods

create(body, datastream_id) click to toggle source
# File lib/tandarb/storestat.rb, line 7
def create(body, datastream_id)
  post("/storestats/for_datastream/#{datastream_id}", body, @token)
end