Class: Arweave::Client
- Inherits:
-
Object
- Object
- Arweave::Client
- Defined in:
- lib/arweave/client.rb
Defined Under Namespace
Classes: Configuration
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
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
9 10 11 12 |
# File 'lib/arweave/client.rb', line 9 def self.configure self.configuration ||= Configuration.new yield @configuration end |