Method: Trello::Client#get

Defined in:
lib/trello/client.rb

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



16
17
18
19
20
# File 'lib/trello/client.rb', line 16

def get(path, params = {})
  uri = Addressable::URI.parse("https://api.trello.com/#{API_VERSION}#{path}")
  uri.query_values = params unless params.empty?
  invoke_verb(:get, uri)
end