Sha256: 78a607e922cb9425dfd9868188ee1f23ac2fb7d3a130bf26e035167f0a4fac54

Contents?: true

Size: 414 Bytes

Versions: 24

Compression:

Stored size: 414 Bytes

Contents

require "picasa/presenter/base"

module Picasa
  module Presenter
    class Link < Base
      # @return [String]
      def rel
        @rel ||= safe_retrieve(parsed_body, "rel")
      end

      # @return [String]
      def type
        @type ||= safe_retrieve(parsed_body, "type")
      end

      # @return [String]
      def href
        @href ||= safe_retrieve(parsed_body, "href")
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
picasa-0.5.1 lib/picasa/presenter/link.rb
picasa-0.5.0 lib/picasa/presenter/link.rb
picasa-0.4.2 lib/picasa/presenter/link.rb
picasa-0.4.1 lib/picasa/presenter/link.rb