Class: Privy::Resources::Wallets::Earn
- Inherits:
-
Object
- Object
- Privy::Resources::Wallets::Earn
- Defined in:
- lib/privy/resources/wallets/earn.rb,
lib/privy/resources/wallets/earn/ethereum.rb,
lib/privy/resources/wallets/earn/ethereum/incentive.rb
Defined Under Namespace
Classes: Ethereum
Instance Attribute Summary collapse
-
#ethereum ⇒ Privy::Resources::Wallets::Earn::Ethereum
readonly
Operations related to wallet actions.
Instance Method Summary collapse
-
#initialize(client:) ⇒ Earn
constructor
private
A new instance of Earn.
Constructor Details
#initialize(client:) ⇒ Earn
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Earn.
14 15 16 17 |
# File 'lib/privy/resources/wallets/earn.rb', line 14 def initialize(client:) @client = client @ethereum = Privy::Resources::Wallets::Earn::Ethereum.new(client: client) end |
Instance Attribute Details
#ethereum ⇒ Privy::Resources::Wallets::Earn::Ethereum (readonly)
Operations related to wallet actions
9 10 11 |
# File 'lib/privy/resources/wallets/earn.rb', line 9 def ethereum @ethereum end |