Class: Conjure::Instance
- Inherits:
-
Object
- Object
- Conjure::Instance
- Defined in:
- lib/conjure/instance.rb
Defined Under Namespace
Classes: Collection
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
-
#ip_address ⇒ Object
readonly
Returns the value of attribute ip_address.
-
#rails_environment ⇒ Object
readonly
Returns the value of attribute rails_environment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ Instance
constructor
A new instance of Instance.
- #status ⇒ Object
Constructor Details
#initialize(options) ⇒ Instance
Returns a new instance of Instance.
5 6 7 8 9 |
# File 'lib/conjure/instance.rb', line 5 def initialize() @application = [:application] @ip_address = [:ip_address] @rails_environment = [:rails_environment] end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
3 4 5 |
# File 'lib/conjure/instance.rb', line 3 def application @application end |
#ip_address ⇒ Object (readonly)
Returns the value of attribute ip_address.
3 4 5 |
# File 'lib/conjure/instance.rb', line 3 def ip_address @ip_address end |
#rails_environment ⇒ Object (readonly)
Returns the value of attribute rails_environment.
3 4 5 |
# File 'lib/conjure/instance.rb', line 3 def rails_environment @rails_environment end |
Class Method Details
.where(options = {}) ⇒ Object
11 12 13 |
# File 'lib/conjure/instance.rb', line 11 def self.where( = {}) Collection.new() end |
Instance Method Details
#status ⇒ Object
15 16 17 |
# File 'lib/conjure/instance.rb', line 15 def status "running" end |