Class: Twitter::Settings

Inherits:
Base
  • Object
show all
Defined in:
lib/twitter/settings.rb

Overview

Represents Twitter account settings

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, #initialize, object_attr_reader, predicate_attr_reader, uri_attr_reader

Methods included from Utils

flat_pmap, pmap

Constructor Details

This class inherits a constructor from Twitter::Base

Instance Attribute Details

#languageString (readonly)

The screen name of the account

Examples:

settings.screen_name

Returns:

  • (String)


34
35
36
# File 'lib/twitter/settings.rb', line 34

def language
  @language
end

#screen_nameString (readonly)

The screen name of the account

Examples:

settings.screen_name

Returns:

  • (String)


34
35
36
# File 'lib/twitter/settings.rb', line 34

def screen_name
  @screen_name
end

#sleep_timeHash (readonly)

The time zone settings

Examples:

settings.time_zone

Returns:

  • (Hash)


19
20
21
# File 'lib/twitter/settings.rb', line 19

def sleep_time
  @sleep_time
end

#time_zoneHash (readonly)

The time zone settings

Examples:

settings.time_zone

Returns:

  • (Hash)


19
20
21
# File 'lib/twitter/settings.rb', line 19

def time_zone
  @time_zone
end