Class: Ryext::Models::Scan

Inherits:
Object
  • Object
show all
Extended by:
Service
Includes:
Model
Defined in:
lib/ryext/models/scan.rb

Constant Summary collapse

YEXT_ATTRIBUTES =
{
  name: 'name',
  address: 'address',
  phone: 'phone',
  city: 'city',
  state: 'state',
  zip: 'zip',
  url: 'url',
  external_id: 'external_id',
  match_name: 'match_name',
  match_address: 'match_address',
  match_phone: 'match_phone',
  has_powerlistings: 'has_powerlistings'
}

Class Method Summary collapse

Methods included from Service

base_uri, base_url, get, instance_klass

Methods included from Model

#build, included, #initialize, #instance_klass

Class Method Details

.default_path(*args) ⇒ Object



6
7
8
# File 'lib/ryext/models/scan.rb', line 6

def self.default_path(*args)
  "/powerlistings/scan"
end