Method: MarathonEndpoint#initialize
- Defined in:
- lib/panteras_api/marathon_endpoint.rb
#initialize(host, port = 8080, user = '', passwd = '') ⇒ MarathonEndpoint
Returns a new instance of MarathonEndpoint.
5 6 7 8 9 10 |
# File 'lib/panteras_api/marathon_endpoint.rb', line 5 def initialize(host, port=8080, user='', passwd='') @host = host @port = port @user = user @passwd = passwd end |