Sha256: f8348771feba754932cfb9acb2e292787e69234ea4d1ad04a281055ba84a8e07
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) require 'faraday' require 'faraday_middleware' require 'faraday/api_key' require 'faraday/errors' require 'faraday/cache' 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/hero' 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
reviewed-0.6.4 | lib/reviewed.rb |
reviewed-0.6.3 | lib/reviewed.rb |
reviewed-0.6.2 | lib/reviewed.rb |
reviewed-0.6.1 | lib/reviewed.rb |
reviewed-0.6.0 | lib/reviewed.rb |