Class: MailUp::Public::Base
- Inherits:
-
Object
- Object
- MailUp::Public::Base
- Defined in:
- lib/mailup/public/base.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
Instance Method Summary collapse
-
#console ⇒ Object
Resource nodes.
-
#initialize(api) ⇒ Base
constructor
:nodoc:.
Constructor Details
#initialize(api) ⇒ Base
:nodoc:
6 7 8 9 |
# File 'lib/mailup/public/base.rb', line 6 def initialize(api) # :nodoc: @api = api @api.path = "/API/v#{MailUp::API_VERSION}/Rest/PublicService.svc" end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
4 5 6 |
# File 'lib/mailup/public/base.rb', line 4 def api @api end |