Class: FrederickAPI::V2::PublicResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/frederick_api/v2/public_resource.rb

Overview

Class from which Frederick V2 PUBLIC Resources inherit

Direct Known Subclasses

BusinessCategory

Instance Attribute Summary

Attributes inherited from Resource

#custom_headers

Class Method Summary collapse

Methods inherited from Resource

_header_store, all_records, custom_headers, #has_errors?, #initialize, top_level_namespace, with_access_token, with_access_token_and_headers

Constructor Details

This class inherits a constructor from FrederickAPI::V2::Resource

Class Method Details

.siteObject



7
8
9
# File 'lib/frederick_api/v2/public_resource.rb', line 7

def self.site
  "#{top_level_namespace.config.public_base_url}/v2/"
end