Top Level Namespace

Defined Under Namespace

Modules: Cryptomarket

Instance Method Summary collapse

Instance Method Details

#get?(method) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/cryptomarket/http_manager.rb', line 16

def get?(method)
  method.upcase == 'GET'
end

#patch?(method) ⇒ Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/cryptomarket/http_manager.rb', line 24

def patch?(method)
  method.upcase == 'PATCH'
end

#post?(method) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/cryptomarket/http_manager.rb', line 12

def post?(method)
  method.upcase == 'POST'
end

#put?(method) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/cryptomarket/http_manager.rb', line 20

def put?(method)
  method.upcase == 'PUT'
end