Class: Serverkit::Resources::Base
- Inherits:
-
Object
- Object
- Serverkit::Resources::Base
- Defined in:
- lib/serverkit/resources/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
Instance Method Summary collapse
-
#initialize(properties) ⇒ Base
constructor
A new instance of Base.
- #name ⇒ String
Constructor Details
#initialize(properties) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/serverkit/resources/base.rb', line 7 def initialize(properties) @properties = properties end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
4 5 6 |
# File 'lib/serverkit/resources/base.rb', line 4 def backend @backend end |
Instance Method Details
#name ⇒ String
12 13 14 |
# File 'lib/serverkit/resources/base.rb', line 12 def name @properties["name"] end |