Class: EdFi::Client::Proxy
- Inherits:
-
Crapi::Proxy
- Object
- Crapi::Proxy
- EdFi::Client::Proxy
- Defined in:
- lib/ed_fi/client/proxy.rb
Overview
The Crapi::Proxy to EdFi::Client's Crapi::Client.
An EdFi::Client::Proxy calls #client= on every CRUD-method-generated EdFi::Client::Response.
Instance Method Summary collapse
-
#delete(*args) ⇒ Object
CRUD method: DELETE.
-
#get(*args) ⇒ Object
CRUD method: GET.
-
#patch(*args) ⇒ Object
CRUD method: PATCH.
-
#post(*args) ⇒ Object
CRUD method: POST.
-
#put(*args) ⇒ Object
CRUD method: PUT.
Instance Method Details
#delete(*args) ⇒ Object
CRUD method: DELETE
All parameters are passed directly through to Crapi::Proxy#delete.
25 26 27 28 29 30 |
# File 'lib/ed_fi/client/proxy.rb', line 25 def delete(*args) response = super response.client = self response end |
#get(*args) ⇒ Object
CRUD method: GET
All parameters are passed directly through to Crapi::Proxy#get.
14 15 16 17 18 19 |
# File 'lib/ed_fi/client/proxy.rb', line 14 def get(*args) response = super response.client = self response end |
#patch(*args) ⇒ Object
CRUD method: PATCH
All parameters are passed directly through to Crapi::Proxy#patch.
47 48 49 50 51 52 |
# File 'lib/ed_fi/client/proxy.rb', line 47 def patch(*args) response = super response.client = self response end |
#post(*args) ⇒ Object
CRUD method: POST
All parameters are passed directly through to Crapi::Proxy#post.
36 37 38 39 40 41 |
# File 'lib/ed_fi/client/proxy.rb', line 36 def post(*args) response = super response.client = self response end |
#put(*args) ⇒ Object
CRUD method: PUT
All parameters are passed directly through to Crapi::Proxy#put.
58 59 60 61 62 63 |
# File 'lib/ed_fi/client/proxy.rb', line 58 def put(*args) response = super response.client = self response end |