Class: Raven::Competitors

Inherits:
Object
  • Object
show all
Defined in:
lib/rb_raven_api/competitors.rb

Class Method Summary collapse

Class Method Details

.for_domain(domain, cstm = {}) ⇒ Raven::Response

This request will return the available competitors for the domain provided.

Parameters:

  • domain (String)

    Required The domain name you want results for. _Must match exactly_

Returns:



12
13
14
# File 'lib/rb_raven_api/competitors.rb', line 12

def self.for_domain domain, cstm = {}
  Raven.http.get '', { method: 'competitors', domain: domain }.merge(cstm)
end