Class: RuplDB::Client
- Inherits:
-
Object
- Object
- RuplDB::Client
- Defined in:
- lib/rupldb.rb
Instance Method Summary collapse
- #do_something ⇒ Object
-
#initialize(url: nil) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(url: nil) ⇒ Client
Returns a new instance of Client.
3 4 5 6 7 8 9 |
# File 'lib/rupldb.rb', line 3 def initialize(url: nil) if url self.url = url else self.url = ENV["REPLIT_DB_URL"] end end |
Instance Method Details
#do_something ⇒ Object
11 12 13 |
# File 'lib/rupldb.rb', line 11 def do_something puts "Done!".freeze end |