6 7 8 9
# File 'lib/dhl/ecommerce/operations/find.rb', line 6 def find(id) attributes = DHL::Ecommerce.request :get, "https://api.dhlglobalmail.com/v1/#{resource_name.downcase}s/#{id}" new attributes[resource_name] end