Module: NesstarAPI
- Defined in:
- lib/nesstar-api.rb
Overview
This module is the starting point. Use this to get an instance of a server.
Class Method Summary collapse
-
.get_server(url) ⇒ Object
Gets a server identified by a URL.
Class Method Details
.get_server(url) ⇒ Object
Gets a server identified by a URL
10 11 12 13 |
# File 'lib/nesstar-api.rb', line 10 def self.get_server(url) RestClient.instance.init url Server.new end |