Parent

Methods

Class/Module Index [+]

Quicksearch

Twitter::ProfileBanner

Public Instance Methods

sizes() click to toggle source

Returns an array of photo sizes

@return [Array<Twitter::Size>]

# File lib/twitter/profile_banner.rb, line 8
def sizes
  @attrs.fetch(:sizes, []).inject({}) do |object, (key, value)|
    object[key] = Size.new(value)
    object
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.