Class: OpenTopo::Net::Connection
- Inherits:
-
Object
- Object
- OpenTopo::Net::Connection
- Defined in:
- lib/open_topo/net/connection.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(api_key = nil) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(api_key = nil) ⇒ Connection
Returns a new instance of Connection.
10 11 12 |
# File 'lib/open_topo/net/connection.rb', line 10 def initialize(api_key = nil) @api_key = api_key end |
Instance Method Details
#build ⇒ Object
14 15 16 |
# File 'lib/open_topo/net/connection.rb', line 14 def build create_connection end |