Sha256: c553183c1c4c7975ecb0c63351c835cb6c4a082c1d6a75f4d5e8860cf6bc79cd
Contents?: true
Size: 962 Bytes
Versions: 1
Compression:
Stored size: 962 Bytes
Contents
require "picasa/presenter/base" module Picasa module Presenter class Tag < Base # @return [Presenter::Author] def author @author ||= Author.new(safe_retrieve(parsed_body, "author")) end # @return [Array<Presenter::Link>] def links @links ||= safe_retrieve(parsed_body, "link").map { |link| Link.new(link) } end # @return [DateTime] def updated @updated ||= map_to_date(safe_retrieve(parsed_body, "updated")) end # @return [String] def title @title ||= safe_retrieve(parsed_body, "title") end # @return [String] def summary @summary ||= safe_retrieve(parsed_body, "summary") end # @return [String] def id @id ||= safe_retrieve(parsed_body, "id") end # @return [Integer] def weight @weight ||= map_to_integer(safe_retrieve(parsed_body, "weight")) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
picasa-0.4.2 | lib/picasa/presenter/tag.rb |