Module: DomoscioRails::HTTPCalls::Fetch::ClassMethods

Defined in:
lib/domoscio_rails/http_calls.rb

Instance Method Summary collapse

Instance Method Details

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



31
32
33
# File 'lib/domoscio_rails/http_calls.rb', line 31

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