Method: Esable::Client#get_couple
- Defined in:
- lib/esable/client.rb
#get_couple(id) ⇒ Object
6 7 8 9 10 |
# 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 |