Class: Increase::Models::OAuthConnection

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/oauth_connection.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#created_atString

The ISO 8601 timestamp when the OAuth Connection was created.

Returns:

  • (String)


14
# File 'lib/increase/models/oauth_connection.rb', line 14

required :created_at, String

#deleted_atString

The ISO 8601 timestamp when the OAuth Connection was deleted.

Returns:

  • (String)


19
# File 'lib/increase/models/oauth_connection.rb', line 19

required :deleted_at, String

#group_idString

The identifier of the Group that has authorized your OAuth application.

Returns:

  • (String)


24
# File 'lib/increase/models/oauth_connection.rb', line 24

required :group_id, String

#idString

The OAuth Connection's identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/oauth_connection.rb', line 9

required :id, String

#statusSymbol

Whether the connection is active.

Returns:

  • (Symbol)


29
# File 'lib/increase/models/oauth_connection.rb', line 29

required :status, Increase::Enum.new(:active, :inactive)

#typeSymbol

A constant representing the object's type. For this resource it will always be oauth_connection.

Returns:

  • (Symbol)


34
# File 'lib/increase/models/oauth_connection.rb', line 34

required :type, Increase::Enum.new(:oauth_connection)