Class: MrMurano::Postgresql
- Inherits:
-
ServiceConfig
- Object
- SolutionBase
- ServiceConfig
- MrMurano::Postgresql
- Defined in:
- lib/MrMurano/commands/postgresql.rb
Instance Method Summary collapse
-
#initialize ⇒ Postgresql
constructor
A new instance of Postgresql.
- #query(query) ⇒ Object
Methods inherited from ServiceConfig
#call, #fetch, #info, #list, #logs, #scid, #scid_for_name
Methods inherited from SolutionBase
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
#initialize ⇒ Postgresql
Returns a new instance of Postgresql.
5 6 7 8 |
# File 'lib/MrMurano/commands/postgresql.rb', line 5 def initialize super @serviceName = 'postgresql' end |
Instance Method Details
#query(query) ⇒ Object
10 11 12 |
# File 'lib/MrMurano/commands/postgresql.rb', line 10 def query(query) call(:query, :post, {:sql=>query}) end |