Module: Busibe::Request

Included in:
Client
Defined in:
lib/busibe/request.rb

Instance Method Summary collapse

Instance Method Details

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



3
4
5
6
7
8
9
10
# File 'lib/busibe/request.rb', line 3

def get(path, params = {})
  perform_request(
    :get,
    path,
    params,
    public_key: @public_key, access_token: @access_token
  )
end

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



12
13
14
15
16
17
18
19
# File 'lib/busibe/request.rb', line 12

def post(path, params = {})
  perform_request(
    :post,
    path,
    params,
    public_key: @public_key, access_token: @access_token
  )
end