Class: Privy::Resources::Wallets::Earn

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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.

Parameters:



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

#ethereumPrivy::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