Module: Jamef::Rating
- Defined in:
- lib/jamef/rating.rb,
lib/jamef/tracking.rb,
lib/jamef/rating/params.rb
Defined Under Namespace
Classes: Params
Constant Summary collapse
- WSDL =
'http://www.jamef.com.br/webservice/JAMW0520.apw?WSDL'
Class Method Summary collapse
Class Method Details
.complete_rate(params) ⇒ Object
11 12 13 14 15 |
# File 'lib/jamef/rating.rb', line 11 def self.complete_rate params params = Jamef::Params.new(params) response = (params) parse_response(response) end |
.rate(params) ⇒ Object
17 18 19 |
# File 'lib/jamef/rating.rb', line 17 def self.rate params simplify_parsed_response(complete_rate(params)) end |
.savon_client ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/jamef/rating.rb', line 21 def self.savon_client @savon_client ||= ::Savon.client do |globals| globals.convert_request_keys_to :upcase globals.wsdl wsdl end @savon_client end |