Class: PixiClient::Configuration
- Inherits:
-
Object
- Object
- PixiClient::Configuration
- Defined in:
- lib/pixi_client/configuration.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
-
#wsdl ⇒ Object
Returns the value of attribute wsdl.
Instance Method Summary collapse
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
3 4 5 |
# File 'lib/pixi_client/configuration.rb', line 3 def endpoint @endpoint end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/pixi_client/configuration.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/pixi_client/configuration.rb', line 3 def username @username end |
#wsdl ⇒ Object
Returns the value of attribute wsdl.
3 4 5 |
# File 'lib/pixi_client/configuration.rb', line 3 def wsdl @wsdl end |
Instance Method Details
#wsdl_document ⇒ Object
5 6 7 8 |
# File 'lib/pixi_client/configuration.rb', line 5 def wsdl_document wsdl || endpoint || raise(PixiClient::Error.new("A 'wsdl' or 'endpoint' must be configured")) wsdl ? wsdl : endpoint + '?wsdl' end |