Sha256: 8d2f3cf2efad2fb9641fa5b417867e877f86d72e744fc6437c1c7596608b71f3
Contents?: true
Size: 415 Bytes
Versions: 17
Compression:
Stored size: 415 Bytes
Contents
module Rapa class Image # @return [Hash] attr_reader :source # @param source [Hash] def initialize(source) @source = source end # @return [Integer] def height ::Rapa::Quantity.new(source["Height"]) end # @return [String] def url source["URL"] end # @return [Integer] def width ::Rapa::Quantity.new(source["Width"]) end end end
Version data entries
17 entries across 17 versions & 1 rubygems