Class: Dgrid::API::RestAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/dgrid/api/connection.rb

Direct Known Subclasses

ServerRestAdapter

Instance Method Summary collapse

Instance Method Details

#rest_get(path, params = {}) ⇒ Object



46
47
48
# File 'lib/dgrid/api/connection.rb', line 46

def rest_get(path, params = {})
  raise "you must override rest_get in subclasses"
end

#rest_post(path, params = {}) ⇒ Object



42
43
44
# File 'lib/dgrid/api/connection.rb', line 42

def rest_post(path, params = {})
  raise "you must override rest_post in subclasses"
end