struct CB::Model::AccessToken

Included Modules

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(access_token : String = "", account_id : String = "", api_key_id : String = "", created_at : Time = Time::ZERO, expires_at : Time = Time::ZERO, expires_in : Int32 = 0, id : String = "", token_type : String = "bearer") #

Instance Method Detail

def access_token : String #

def account_id : String #

def api_key_id : String #

def clone #

def copy_with(access_token _access_token = @access_token, account_id _account_id = @account_id, api_key_id _api_key_id = @api_key_id, created_at _created_at = @created_at, expires_at _expires_at = @expires_at, expires_in _expires_in = @expires_in, id _id = @id, token_type _token_type = @token_type) #

def created_at : Time #

def expires_at : Time #

def expires_in : Int32 #

def id : String #

def token_type : String #