Class: Increase::Models::CheckTransfer::CreatedBy

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

Defined Under Namespace

Classes: APIKey, OAuthApplication, User

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#api_keyIncrease::Models::CheckTransfer::CreatedBy::APIKey

If present, details about the API key that created the transfer.



161
# File 'lib/increase/models/check_transfer.rb', line 161

required :api_key, -> { Increase::Models::CheckTransfer::CreatedBy::APIKey }

#categorySymbol

The type of object that created this transfer.

Returns:

  • (Symbol)


166
# File 'lib/increase/models/check_transfer.rb', line 166

required :category, Increase::Enum.new(:api_key, :oauth_application, :user)

#oauth_applicationIncrease::Models::CheckTransfer::CreatedBy::OAuthApplication

If present, details about the OAuth Application that created the transfer.



171
# File 'lib/increase/models/check_transfer.rb', line 171

required :oauth_application, -> { Increase::Models::CheckTransfer::CreatedBy::OAuthApplication }

#userIncrease::Models::CheckTransfer::CreatedBy::User

If present, details about the User that created the transfer.



176
# File 'lib/increase/models/check_transfer.rb', line 176

required :user, -> { Increase::Models::CheckTransfer::CreatedBy::User }