Module: DomoscioRails::HTTPCalls::Util::ClassMethods

Defined in:
lib/domoscio_rails/http_calls.rb

Instance Method Summary collapse

Instance Method Details

#util(id = nil, util_name = nil, params = {}) ⇒ Object



55
56
57
# File 'lib/domoscio_rails/http_calls.rb', line 55

def util(id = nil, util_name = nil, params = {})
  DomoscioRails.request(:get, url(id, util_name, params), params)
end

#util_post(id = nil, util_name = nil, params = {}) ⇒ Object



59
60
61
# File 'lib/domoscio_rails/http_calls.rb', line 59

def util_post(id = nil, util_name = nil, params = {})
  DomoscioRails.request(:post, url(id, util_name, params), params)
end