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_uri_length[R]
short_uri_length_https[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 14
def photo_sizes
  @attrs.fetch(:photo_sizes, []).inject({}) do |object, (key, value)|
    object[key] = Size.new(value)
    object
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.