class EdFi::Client::Proxy

The Crapi::Proxy to {EdFi::Client}'s Crapi::Client.

An {EdFi::Client::Proxy EdFi::Client::Proxy} calls {EdFi::Client::Response#client= client=} on every CRUD-method-generated {EdFi::Client::Response EdFi::Client::Response}.

Public Instance Methods

delete(*args) click to toggle source

CRUD method: DELETE

All parameters are passed directly through to Crapi::Proxy#delete.

Calls superclass method
# File lib/ed_fi/client/proxy.rb, line 26
def delete(*args)
  response = super
  response.client = self

  response
end
get(*args) click to toggle source

CRUD method: GET

All parameters are passed directly through to Crapi::Proxy#get.

Calls superclass method
# File lib/ed_fi/client/proxy.rb, line 15
def get(*args)
  response = super
  response.client = self

  response
end
patch(*args) click to toggle source

CRUD method: PATCH

All parameters are passed directly through to Crapi::Proxy#patch.

Calls superclass method
# File lib/ed_fi/client/proxy.rb, line 48
def patch(*args)
  response = super
  response.client = self

  response
end
post(*args) click to toggle source

CRUD method: POST

All parameters are passed directly through to Crapi::Proxy#post.

Calls superclass method
# File lib/ed_fi/client/proxy.rb, line 37
def post(*args)
  response = super
  response.client = self

  response
end
put(*args) click to toggle source

CRUD method: PUT

All parameters are passed directly through to Crapi::Proxy#put.

Calls superclass method
# File lib/ed_fi/client/proxy.rb, line 59
def put(*args)
  response = super
  response.client = self

  response
end