Class: Increase::Models::ACHTransfer::CreatedBy

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/ach_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::ACHTransfer::CreatedBy::APIKey

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



275
# File 'lib/increase/models/ach_transfer.rb', line 275

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

#categorySymbol

The type of object that created this transfer.

Returns:

  • (Symbol)


280
# File 'lib/increase/models/ach_transfer.rb', line 280

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

#oauth_applicationIncrease::Models::ACHTransfer::CreatedBy::OAuthApplication

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



285
# File 'lib/increase/models/ach_transfer.rb', line 285

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

#userIncrease::Models::ACHTransfer::CreatedBy::User

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



290
# File 'lib/increase/models/ach_transfer.rb', line 290

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