lib/pingpp/identification.rb in pingpp-2.0.15 vs lib/pingpp/identification.rb in pingpp-2.1.0
- old
+ new
@@ -1,13 +1,13 @@
module Pingpp
class Identification < APIResource
- include Pingpp::APIOperations::Create
+ extend Pingpp::APIOperations::Create
- def self.identify(params={}, api_key=nil)
- create(params, api_key)
+ def self.identify(params={}, opts={})
+ create(params, opts)
end
- def self.url
+ def self.resource_url(opts={})
'/v1/identification'
end
end
end