Sha256: 8f701cd746169ab9505bf6714abd48c363ea1c0a80f3a291f2a71fefe86a6d55
Contents?: true
Size: 1015 Bytes
Versions: 6
Compression:
Stored size: 1015 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) require 'faraday' require 'faraday_middleware' require 'faraday/api_key' require 'faraday/errors' require 'active_support/inflector' require 'active_support/core_ext' require 'active_model' require 'hashie' require 'rack' require 'reviewed/embeddable' require 'reviewed/request' require 'reviewed/client' require 'reviewed/collection' require 'reviewed/base' require 'reviewed/attachable' require 'reviewed/manufacturer_spec' require 'reviewed/award' require 'reviewed/brand' require 'reviewed/product' require 'reviewed/deal' require 'reviewed/article' require 'reviewed/author' require 'reviewed/page' require 'reviewed/website' module Reviewed class BaseError < StandardError attr_accessor :url def initialize(opts={}) @url = opts[:url] super(opts[:msg]) end end class ConfigurationError < Reviewed::BaseError; end class ResourceNotFound < Reviewed::BaseError; end class ApiError < Reviewed::BaseError; end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
reviewed-0.4.5 | lib/reviewed.rb |
reviewed-0.4.4 | lib/reviewed.rb |
reviewed-0.4.3 | lib/reviewed.rb |
reviewed-0.4.2 | lib/reviewed.rb |
reviewed-0.4.1 | lib/reviewed.rb |
reviewed-0.4.0 | lib/reviewed.rb |