Class: Pingpp::Identification

Inherits:
APIResource show all
Includes:
APIOperations::Create
Defined in:
lib/pingpp/identification.rb

Instance Attribute Summary

Attributes inherited from PingppObject

#api_key

Class Method Summary collapse

Methods included from APIOperations::Create

included

Methods inherited from APIResource

class_name, #refresh, retrieve, #url

Methods inherited from PingppObject

#[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #to_hash, #to_json, #to_s, #values

Constructor Details

This class inherits a constructor from Pingpp::PingppObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Pingpp::PingppObject

Class Method Details

.identify(params = {}, api_key = nil) ⇒ Object



5
6
7
# File 'lib/pingpp/identification.rb', line 5

def self.identify(params={}, api_key=nil)
    create(params, api_key)
end

.urlObject



9
10
11
# File 'lib/pingpp/identification.rb', line 9

def self.url
  '/v1/identification'
end