class Megaplan::Search

Public Class Methods

class_endpoint() click to toggle source
# File lib/megaplan/search.rb, line 7
def class_endpoint
  "/BumsCommonApiV01/Search/"
end
new(client, query = {}) click to toggle source
# File lib/megaplan/search.rb, line 11
def new(client, query = {})
  path = resource_path(:get, client, 'quick.api', nil, query)
  headers = client.get_headers(:get, path.gsub('https://', ''))
  response = HTTParty.get(path, :headers => headers)
  check_response(response)
end