Class: Pingpp::Identification

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

Class Method Summary collapse

Methods included from APIOperations::Create

create

Methods inherited from APIResource

class_name, object_name, #refresh, #resource_url, retrieve, uri_object_name

Methods included from APIOperations::Request

included

Methods inherited from PingppObject

#==, #[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #serialize_params, #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 = {}, opts = {}) ⇒ Object



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

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

.resource_url(opts = {}) ⇒ Object



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

def self.resource_url(opts={})
  '/v1/identification'
end