Class: Goldeneye::Drivers::Base
- Inherits:
-
Object
- Object
- Goldeneye::Drivers::Base
- Defined in:
- lib/goldeneye/drivers/base.rb
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) password
Returns the value of attribute password.
-
- (Object) url
Returns the value of attribute url.
-
- (Object) user
Returns the value of attribute user.
Class Method Summary (collapse)
-
+ (Object) log=(log)
Defines if this class will log its interactions.
Instance Method Summary (collapse)
- - (Object) call(method, args = {})
-
- (Base) initialize(service, options = {})
constructor
A new instance of Base.
Constructor Details
- (Base) initialize(service, options = {})
A new instance of Base
13 14 15 16 17 |
# File 'lib/goldeneye/drivers/base.rb', line 13 def initialize(service, = {}) @url = "#{([:url] || Goldeneye.url)}/#{service}?wsdl" @user = [:user] || Goldeneye.user @password = [:password] || Goldeneye.password end |
Instance Attribute Details
- (Object) password
Returns the value of attribute password
11 12 13 |
# File 'lib/goldeneye/drivers/base.rb', line 11 def password @password end |
- (Object) url
Returns the value of attribute url
11 12 13 |
# File 'lib/goldeneye/drivers/base.rb', line 11 def url @url end |
- (Object) user
Returns the value of attribute user
11 12 13 |
# File 'lib/goldeneye/drivers/base.rb', line 11 def user @user end |
Class Method Details
+ (Object) log=(log)
Defines if this class will log its interactions
6 7 8 |
# File 'lib/goldeneye/drivers/base.rb', line 6 def log=(log) raise NotImplementedError end |
Instance Method Details
- (Object) call(method, args = {})
19 20 21 |
# File 'lib/goldeneye/drivers/base.rb', line 19 def call(method, args = {}) raise NotImplementedError end |