Sha256: abc273f0804e1a8b11b5cb71ca7c3aa6837a69d32197c7e8e1a6f6f3e458d782
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
require 'yelp/business/version' module Yelp class BaseError < StandardError; end class BusinessNotFoundError < BaseError; end class InvalidIdentifierError < BaseError; end class MissingAccessTokenError < BaseError; end class YelpError < BaseError; end class AuthenticationError < YelpError; end API_HOST = 'https://api.yelp.com' BUSINESS_PATH = '/v3/businesses/' REVIEWS_SUFFIX = '/reviews' PUBLIC_URL_PREFIX = 'https://www.yelp.com/biz/' class << self attr_accessor :access_token end self.access_token ||= ENV['YELP_ACCESS_TOKEN'] end require 'yelp/business'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yelp-business-0.2.1 | lib/yelp.rb |