Class: TeamCity::API
- Inherits:
-
Object
- Object
- TeamCity::API
- Includes:
- Connection, Request
- Defined in:
- lib/teamcity/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
9 10 11 12 13 14 |
# File 'lib/teamcity/api.rb', line 9 def initialize(={}) = TeamCity..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |