Method: MarketingAPI#initialize
- Defined in:
- lib/marketing_api.rb
#initialize(server = "web.ict.kth.se/~chyrkov", port = 80) ⇒ MarketingAPI
Initializes the API with optional server and port The protocol is HTTP and it cannot be changed
10 11 12 13 |
# File 'lib/marketing_api.rb', line 10 def initialize(server="web.ict.kth.se/~chyrkov", port=80) @server = server @port = port end |