module Bestsellers

Constants

VERSION

Public Class Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/nytimes_bestsellers.rb, line 10
def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end
new() click to toggle source
# File lib/nytimes_bestsellers.rb, line 6
def new
  @list ||= Bestsellers::List.new
end
respond_to?(method, include_private=false) click to toggle source
Calls superclass method
# File lib/nytimes_bestsellers.rb, line 15
def respond_to?(method, include_private=false)
  new.respond_to?(method, include_private) || super(method, include_private)
end