lib/ratebeer/brewery.rb
# Each key represents an item of data accessible for each beer, and defines
# dynamically a series of methods for accessing this data.
#
Each key represents an item of data accessible for each beer, and defines
dynamically a series of methods for accessing this data.
Each key represents an item of data accessible for each beer and defines dynamically a series of methods for accessing this data .
def doc
        @doc ||= noko_doc(URI.join(BASE_URL, brewery_url(id)))
        validate_brewery
        @doc
      end
def doc @doc ||= noko_doc ( URI . join ( BASE_URL , brewery_url ( id ) ) ) validate_brewery @doc end
Each key represents an item of data accessible for each beer, and defines
dynamically a series of methods for accessing this data.
Each key represents an item of data accessible for each beer and defines dynamically a series of methods for accessing this data .