Sha256: a847112620320eb3ff82365905355509eeed4f4245e7c3eb3a74f3f0e759b352
Contents?: true
Size: 913 Bytes
Versions: 1
Compression:
Stored size: 913 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) require 'faraday' require 'faraday_middleware' require 'faraday/branches' require 'active_support/inflector' require 'active_support/core_ext' require 'active_model' require 'hashie' require 'reviewed/configurable' require 'reviewed/embeddable' require 'reviewed/utils' require 'reviewed/client' require 'reviewed/collection' require 'reviewed/base' require 'reviewed/manufacturer_spec' require 'reviewed/product' require 'reviewed/article' require 'reviewed/author' require 'reviewed/brand' require 'reviewed/page' require 'reviewed/website' module Reviewed class ConfigurationError < StandardError; end class << self def client @client ||= Reviewed::Client.new end def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reviewed-0.0.9 | lib/reviewed.rb |