Class: Increase::Models::WireTransfer::CreatedBy

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

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



184
# File 'lib/increase/models/wire_transfer.rb', line 184

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

#categorySymbol

The type of object that created this transfer.

Returns:

  • (Symbol)


189
# File 'lib/increase/models/wire_transfer.rb', line 189

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

#oauth_applicationIncrease::Models::WireTransfer::CreatedBy::OAuthApplication

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



194
# File 'lib/increase/models/wire_transfer.rb', line 194

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

#userIncrease::Models::WireTransfer::CreatedBy::User

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



199
# File 'lib/increase/models/wire_transfer.rb', line 199

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