Sha256: 0be2491672927fea94a0a34a0a0136c82364b1a153efdb62296dce6574ffbda7

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

require 'twitter/base'
require 'twitter/place'

module Twitter
  class Settings < Twitter::Base
    attr_reader :always_use_https, :discoverable_by_email, :geo_enabled,
      :language, :protected, :screen_name, :show_all_inline_media, :sleep_time,
      :time_zone

    # @return [Twitter::Place]
    def trend_location
      @trend_location ||= Twitter::Place.fetch_or_new(Array(@attrs[:trend_location]).first)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitter-4.4.0 lib/twitter/settings.rb