Class: ZohoInvoice::AuthToken::AuthTokenResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/zoho_invoice/auth_token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authtokenObject

Returns the value of attribute authtoken

Returns:

  • (Object)

    the current value of authtoken



3
4
5
# File 'lib/zoho_invoice/auth_token.rb', line 3

def authtoken
  @authtoken
end

#causeObject

Returns the value of attribute cause

Returns:

  • (Object)

    the current value of cause



3
4
5
# File 'lib/zoho_invoice/auth_token.rb', line 3

def cause
  @cause
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


4
5
6
7
# File 'lib/zoho_invoice/auth_token.rb', line 4

def success?
  return true if !authtoken.nil?
  false
end