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