class
TwitterAds::RateLimit
- TwitterAds::RateLimit
- Reference
- Object
Defined in:
twitter-ads/rate_limit.cr:2twitter-ads/rate_limit.cr:49
Constructors
Class Method Summary
Instance Method Summary
- #available? : Bool
- #error : Exception
- #error=(v : Exception) : Exception
-
#error=(v : Nil)
nilassignments are always ignored - #error? : Exception | Nil
-
#inspect(io : IO)
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
- #limit : Int32
- #limit=(v : Int32) : Int32
-
#limit=(v : Nil)
nilassignments are always ignored - #limit? : Int32 | Nil
- #remaining : Int32
- #remaining=(v : Int32) : Int32
-
#remaining=(v : Nil)
nilassignments are always ignored - #remaining? : Int32 | Nil
- #reset : Int32
- #reset=(v : Int32) : Int32
-
#reset=(v : Nil)
nilassignments are always ignored - #reset? : Int32 | Nil
- #state : State
- #state=(v : State) : State
-
#state=(v : Nil)
nilassignments are always ignored - #state? : State | Nil
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
def self.new(state : TwitterAds::RateLimit::State | Nil, limit, remaining, reset, error : Exception | Nil = nil)
#
Class Method Detail
Instance Method Detail
def inspect(io : IO)
#
Description copied from class Reference
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>