Module: Yelp::Fusion::Singleton

Included in:
Client
Defined in:
lib/yelp/fusion/singleton.rb

Overview

Load each endpoint object once for acces by the Yelp::Fusion::Client object

Constant Summary collapse

REQUEST_CLASSES =
[Yelp::Fusion::Endpoint::Search,
Yelp::Fusion::Endpoint::Business,
Yelp::Fusion::Endpoint::Phone,
Yelp::Fusion::Endpoint::Review,
Yelp::Fusion::Endpoint::Transaction,
Yelp::Fusion::Endpoint::Match].freeze