lib/twitter/media/photo.rb
def sizes
        @sizes ||= Array(@attrs[:sizes]).inject({}) do |object, (key, value)|
          object[key] = Twitter::Size.fetch_or_new(value)
          object
        end
      end
# Returns an array of photo sizes
#
# @return [Array<Twitter::Size>]
Returns an array of photo sizes
Returns an array of photo sizes
def sizes
        @sizes ||= Array(@attrs[:sizes]).inject({}) do |object, (key, value)|
          object[key] = Twitter::Size.fetch_or_new(value)
          object
        end
      end
def sizes @sizes ||= Array ( @attrs [ :sizes ] ) . inject ( { } ) do | object , ( key , value ) | object [ key ] = Twitter :: Size . fetch_or_new ( value ) object end end
Returns an array of photo sizes
Returns an array of photo sizes
None
Array<Twitter::Size>