Class: MrMurano::Timeseries

Inherits:
ServiceConfig show all
Defined in:
lib/MrMurano/commands/timeseries.rb

Instance Method Summary collapse

Methods inherited from ServiceConfig

#call, #fetch, #info, #list, #logs, #scid, #scid_for_name

Methods inherited from SolutionBase

#endPoint

Methods included from SyncUpDown

#docmp, #dodiff, #download, #ignoring, #list, #localitems, #locallist, #remove, #removelocal, #searchFor, #status, #syncdown, #synckey, #syncup, #toRemoteItem, #tolocalname, #tolocalpath, #upload

Methods included from Verbose

#debug, #error, #outf, #tabularize, #verbose, #warning

Methods included from Http

#curldebug, #delete, #get, #http, #http_reset, #isJSON, #json_opts, #post, #postf, #put, #set_def_headers, #showHttpError, #token, #workit

Constructor Details

#initializeTimeseries

Returns a new instance of Timeseries.



6
7
8
9
# File 'lib/MrMurano/commands/timeseries.rb', line 6

def initialize
  super
  @serviceName = 'timeseries'
end

Instance Method Details

#command(cmd) ⇒ Object



19
20
21
# File 'lib/MrMurano/commands/timeseries.rb', line 19

def command(cmd)
  call(:command, :post, { :q=>cmd})
end

#query(query) ⇒ Object



11
12
13
# File 'lib/MrMurano/commands/timeseries.rb', line 11

def query(query)
  call(:query, :post, {:q=>query})
end

#write(writestr) ⇒ Object



15
16
17
# File 'lib/MrMurano/commands/timeseries.rb', line 15

def write(writestr)
  call(:write, :post, { :query=>writestr })
end