Class: Termtter::Twitter::APILIMIT

Inherits:
Struct
  • Object
show all
Defined in:
lib/termtter/twitter.rb

Overview

note: APILimit.reset_time_in_seconds == APILimit.reset_time.to_i

Instance Attribute Summary collapse

Instance Attribute Details

#hourly_limitObject

Returns the value of attribute hourly_limit

Returns:

  • (Object)

    the current value of hourly_limit



111
112
113
# File 'lib/termtter/twitter.rb', line 111

def hourly_limit
  @hourly_limit
end

#remaining_hitsObject

Returns the value of attribute remaining_hits

Returns:

  • (Object)

    the current value of remaining_hits



111
112
113
# File 'lib/termtter/twitter.rb', line 111

def remaining_hits
  @remaining_hits
end

#reset_timeObject

Returns the value of attribute reset_time

Returns:

  • (Object)

    the current value of reset_time



111
112
113
# File 'lib/termtter/twitter.rb', line 111

def reset_time
  @reset_time
end

#reset_time_in_secondsObject

Returns the value of attribute reset_time_in_seconds

Returns:

  • (Object)

    the current value of reset_time_in_seconds



111
112
113
# File 'lib/termtter/twitter.rb', line 111

def reset_time_in_seconds
  @reset_time_in_seconds
end