Module: Yandex::Pdd::Client::Connection

Included in:
Yandex::Pdd::Client
Defined in:
lib/yandex/pdd/client/connection.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, options = {}) ⇒ Object



21
22
23
# File 'lib/yandex/pdd/client/connection.rb', line 21

def delete(path, options = {})
  request :delete, path, options
end

#get(path, options = {}) ⇒ Object



5
6
7
# File 'lib/yandex/pdd/client/connection.rb', line 5

def get(path, options = {})
  request :get, path, options
end

#patch(path, options = {}) ⇒ Object



17
18
19
# File 'lib/yandex/pdd/client/connection.rb', line 17

def patch(path, options = {})
  request :patch, path, options
end

#post(path, options = {}) ⇒ Object



9
10
11
# File 'lib/yandex/pdd/client/connection.rb', line 9

def post(path, options = {})
  request :post, path, options
end

#put(path, options = {}) ⇒ Object



13
14
15
# File 'lib/yandex/pdd/client/connection.rb', line 13

def put(path, options = {})
  request :put, path, options
end