Class: Brauchbar

Inherits:
Object
  • Object
show all
Defined in:
lib/brauchbar.rb

Defined Under Namespace

Classes: Request, Response

Class Method Summary collapse

Class Method Details

.get(uri, params = {}) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/brauchbar.rb', line 10

def self.get(uri, params = {})
  options = {
    :method => :get,
    :uri => uri
  }.merge(params)

  Request.execute options
end