Class: Lilypad::Hoptoad::Deploy
- Inherits:
-
Object
- Object
- Lilypad::Hoptoad::Deploy
- Includes:
- Config::Methods, Log::Methods
- Defined in:
- lib/lilypad/hoptoad/deploy.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ Deploy
constructor
A new instance of Deploy.
Methods included from Log::Methods
Methods included from Config::Methods
Constructor Details
#initialize(options) ⇒ Deploy
Returns a new instance of Deploy.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/lilypad/hoptoad/deploy.rb', line 8 def initialize() @options = begin post rescue Exception => e end log :deploy, @response success? end |
Class Method Details
.last_request ⇒ Object
21 22 23 |
# File 'lib/lilypad/hoptoad/deploy.rb', line 21 def last_request defined?(@@last_request) ? @@last_request : nil end |