class Serpscan::SearchEngineCountry

Constants

ATTRIBUTES

Public Class Methods

create() click to toggle source
# File lib/serpscan/search_engine_country.rb, line 15
def create
  params = { Serpscan::Utilities.object_to_string(self) => params }
  API.post("#{api_path}?#{QueryParams.encode(params)}", params: params, json: true)
end

Public Instance Methods

save(params = {}) click to toggle source
Calls superclass method
# File lib/serpscan/search_engine_country.rb, line 10
def save(params = {})
  super(params)
end
search_engine() click to toggle source
# File lib/serpscan/search_engine_country.rb, line 6
def search_engine
  parent
end