Module: AidsInfo::Client::API

Included in:
AidsInfo::Client
Defined in:
lib/aids_info/client/api.rb

Instance Method Summary collapse

Instance Method Details

#search(drug) ⇒ Object



4
5
6
# File 'lib/aids_info/client/api.rb', line 4

def search(drug)
 get("DrugsNew/drug.aspx?displayxml=true&name=#{drug.to_s}")
end