class TwitterAds::Api::AuthenticatedUserAccess

Defined in:

twitter-ads/api/authenticated_user_access.cr

Constant Summary

BELONGS_TO = [account_id : String] of ASTNode
RESOURCE = {:type => :single, :name => AuthenticatedUserAccess, :error => nil, :extra_mappings => nil}

Constructors

Instance Method Summary

Instance methods inherited from class TwitterAds::Response

body(*args, **options)
body(*args, **options, &)
body
, body! : String body!, code : Int32 code, code=(v : Int32) : Int32
code=(v : Nil)
code=
, code? : Int32 | Nil code?, headers(*args, **options)
headers(*args, **options, &)
headers
, http : HTTP::Client::Response http, http=(v : HTTP::Client::Response) : HTTP::Client::Response
http=(v : Nil)
http=
, http? : HTTP::Client::Response | Nil http?, rate_limit : RateLimit rate_limit, rate_limit=(v : RateLimit) : RateLimit
rate_limit=(v : Nil)
rate_limit=
, rate_limit? : RateLimit | Nil rate_limit?, req : Request req, req=(v : Request) : Request
req=(v : Nil)
req=
, req? : Request | Nil req?, success?(*args, **options)
success?(*args, **options, &)
success?

Constructor methods inherited from class TwitterAds::Response

new(http : Nil | HTTP::Client::Response, req : Nil | TwitterAds::Request = nil) new

Macros inherited from class TwitterAds::Response

_finish_dsl_ _finish_dsl_, belongs_to(name) belongs_to, resource_collection(name) resource_collection, resource_error(name) resource_error, resource_extra_mappings(v) resource_extra_mappings, resource_none resource_none, resource_single(name) resource_single

Constructor Detail

def self.new(res : Response, account_id : String) #

Instance Method Detail

def account_id : String #

def account_id=(v : String) : String #

def account_id=(v : Nil) #

nil assignments are always ignored


def account_id? : String | Nil #

def each(&) #

def next_cursor? : String | Nil #

def parser : Parser #

def parser=(v : Parser) : Parser #

def parser=(v : Nil) #

nil assignments are always ignored


def parser? : Parser | Nil #

def permissions(*args, **options) #

[View source]
def permissions(*args, **options, &) #

[View source]
def user_id(*args, **options) #

[View source]
def user_id(*args, **options, &) #

[View source]