Module: BullionVault::Request

Included in:
API
Defined in:
lib/bullion_vault/request.rb

Instance Method Summary collapse

Instance Method Details

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



15
16
17
# File 'lib/bullion_vault/request.rb', line 15

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

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



3
4
5
# File 'lib/bullion_vault/request.rb', line 3

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

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



7
8
9
# File 'lib/bullion_vault/request.rb', line 7

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

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



11
12
13
# File 'lib/bullion_vault/request.rb', line 11

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