Sha256: 74710a9d5b80048ee76cffd02106b8433050c78e371714680e2e80ca5daad7f0
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
module RemoteBook class Base attr_accessor :link, :isbn def author @authors.join(", ") end class << self def associate_keys @@associate_keys ||= {} end def associate_keys=(obj) @@associate_keys = obj end def setup yield self end def find_by_isbn(isbn) find(:isbn => isbn) end def find(options) end end end class RemoteBookError < StandardError #:nodoc: end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
remote_book-0.1.5 | lib/remote_book/base.rb |