class Esable::Client

Public Instance Methods

get_couple(id) click to toggle source
# File lib/esable/client.rb, line 6
def get_couple(id)
  return { status: 404 } if id.nil?
  uri = URI('http://ec2-52-2-88-21.compute-1.amazonaws.com:9200/couple/jdbc/' << id)
  Net::HTTP.get_response uri
end