lib/arii/cashier.rb in arii-1.0.8 vs lib/arii/cashier.rb in arii-1.1
- old
+ new
@@ -13,10 +13,10 @@
# - *payload*: the value for matching/verification
# - *agent*: the agent performing the verification
# - *seed*: seed data (if available)
#
def self.verify cache, agent, payload, seed
- ARII::Config.log.info(self.class.name) {"Verifying\n\taccess token: #{ARII::Config.access_token}\n\thost: #{ARII::Config.host}\n\tcache: #{cache}\n\tagent: #{agent}\n\tpayload: #{payload}\tseed: #{seed}"}
+ #ARII::Config.log.info(self.class.name) {"Verifying\n\taccess token: #{ARII::Config.access_token}\n\thost: #{ARII::Config.host}\n\tcache: #{cache}\n\tagent: #{agent}\n\tpayload: #{payload}\n\tseed: #{seed}"}
begin
response = RestClient.post "#{ARII::Config.host}fluxcapacitor/verify.json", {:access_token => ARII::Config.access_token, :agent => agent[:identifier], :cache => cache, :payload => payload, :seed => seed}
rescue Exception => e
ARII::Config.log.error(self.class.name) {"#{e}"}
response = {:status => 400, :error => e}
\ No newline at end of file