Module: Fcoin::Request

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

Constant Summary collapse

BaseURL =
"https://api.fcoin.com/v2/"

Instance Method Summary collapse

Instance Method Details

#configuration(key, secret) ⇒ Object



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

def configuration(key, secret)
  @key = key
  @secret = secret
end

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



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

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

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



19
20
21
# File 'lib/fcoin/request.rb', line 19

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