Sha256: 48b71a44d2c99316c88d30ff541a51de94e613b29e94ecbb7e5a7f270ca37156

Contents?: true

Size: 962 Bytes

Versions: 4

Compression:

Stored size: 962 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/manufacturer_spec'
require 'reviewed/award'
require 'reviewed/brand'
require 'reviewed/product'
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

4 entries across 4 versions & 1 rubygems

Version Path
reviewed-0.2.0 lib/reviewed.rb
reviewed-0.1.4 lib/reviewed.rb
reviewed-0.1.32 lib/reviewed.rb
reviewed-0.1.31 lib/reviewed.rb