TwitterAds::Request
Inherits Reference < Object
Constructors
new(method : Method, resource : Nil | String, params : Nil | Hash(String, String))
SourceInstance methods
full_url
Sourcehttp
http=(v : HTTP::Request) : HTTP::Request
http=(v : Nil)
nil assignments are always ignored
http?
method
method=(v : Method) : Method
method=(v : Nil)
nil assignments are always ignored
method?
params
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
params=(v : Hash(String, String)) : Hash(String, String)
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
params=(v : Nil)
nil assignments are always ignored
params?
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
requested_at
requested_at=(v : Time) : Time
requested_at=(v : Nil)
nil assignments are always ignored
requested_at?
resource
resource=(v : String) : String
resource=(v : Nil)
nil assignments are always ignored
resource?
runtime_uri
runtime_uri=(v : URI) : URI
runtime_uri=(v : Nil)
nil assignments are always ignored
runtime_uri?
to_s(io : IO)
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>