Class: Vhx::Analytics

Inherits:
VhxObject show all
Defined in:
lib/vhx/objects/analytics.rb

Constant Summary

Constants inherited from VhxObject

VhxObject::ASSOCIATION_WHITELIST

Class Method Summary collapse

Methods inherited from VhxObject

#_embedded, #_links, #href, #initialize, #links, #to_hash, #to_json

Methods included from HelperMethods

#get_hypermedia, #get_klass

Constructor Details

This class inherits a constructor from Vhx::VhxObject

Class Method Details

.report(query_params = {}) ⇒ Object



3
4
5
6
7
# File 'lib/vhx/objects/analytics.rb', line 3

def self.report(query_params = {})
  response = Vhx.connection.get("/analytics", query_params)

  self.new(response.body)
end