Parent

Methods

Class/Module Index [+]

Quicksearch

Twitter::Configuration

Attributes

characters_reserved_per_media[R]
max_media_per_upload[R]
non_username_paths[R]
photo_size_limit[R]
short_url_length[R]
short_url_length_https[R]

Public Instance Methods

photo_sizes() click to toggle source

Returns an array of photo sizes

@return [Array<Twitter::Size>]

# File lib/twitter/configuration.rb, line 12
def photo_sizes
  @photo_sizes ||= Array(@attrs[:photo_sizes]).inject({}) do |object, (key, value)|
    object[key] = Twitter::Size.fetch_or_new(value)
    object
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.