Class: Arweave::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/arweave/client.rb

Defined Under Namespace

Classes: Configuration

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



6
7
8
# File 'lib/arweave/client.rb', line 6

def configuration
  @configuration
end

Class Method Details

.configure {|@configuration| ... } ⇒ Object

Yields:



9
10
11
12
# File 'lib/arweave/client.rb', line 9

def self.configure
  self.configuration ||= Configuration.new
  yield @configuration
end