Class: AliDayu::Base
- Inherits:
-
Object
- Object
- AliDayu::Base
- Defined in:
- lib/ali_dayu/base.rb
Instance Attribute Summary collapse
-
#app_key ⇒ Object
Returns the value of attribute app_key.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
-
#post_url ⇒ Object
Returns the value of attribute post_url.
Instance Method Summary collapse
- #deliver(*args) ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
Instance Attribute Details
#app_key ⇒ Object
Returns the value of attribute app_key.
6 7 8 |
# File 'lib/ali_dayu/base.rb', line 6 def app_key @app_key end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
6 7 8 |
# File 'lib/ali_dayu/base.rb', line 6 def app_secret @app_secret end |
#post_url ⇒ Object
Returns the value of attribute post_url.
6 7 8 |
# File 'lib/ali_dayu/base.rb', line 6 def post_url @post_url end |
Instance Method Details
#deliver(*args) ⇒ Object
14 15 16 |
# File 'lib/ali_dayu/base.rb', line 14 def deliver(*args) raise NotImplementedError, 'crontab must be implemented' end |