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



33
34
35
# File 'lib/gem_contribute/host_adapters/github_adapter.rb', line 33

def limit
  @limit
end

#remainingObject (readonly)

Returns the value of attribute remaining

Returns:

  • (Object)

    the current value of remaining



33
34
35
# File 'lib/gem_contribute/host_adapters/github_adapter.rb', line 33

def remaining
  @remaining
end

#reset_atObject (readonly)

Returns the value of attribute reset_at

Returns:

  • (Object)

    the current value of reset_at



33
34
35
# File 'lib/gem_contribute/host_adapters/github_adapter.rb', line 33

def reset_at
  @reset_at
end