Class: GemContribute::HostAdapters::GitHubAdapter::RateLimit

Inherits:
Data
  • Object
show all
Defined in:
lib/gem_contribute/host_adapters/github_adapter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject (readonly)

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



22
23
24
# File 'lib/gem_contribute/host_adapters/github_adapter.rb', line 22

def limit
  @limit
end

#remainingObject (readonly)

Returns the value of attribute remaining

Returns:

  • (Object)

    the current value of remaining



22
23
24
# File 'lib/gem_contribute/host_adapters/github_adapter.rb', line 22

def remaining
  @remaining
end

#reset_atObject (readonly)

Returns the value of attribute reset_at

Returns:

  • (Object)

    the current value of reset_at



22
23
24
# File 'lib/gem_contribute/host_adapters/github_adapter.rb', line 22

def reset_at
  @reset_at
end