Class: Realm
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Methods inherited from BaseModel
attr_accessor, attributes, #attributes, #id, #initialize, #to_entity
Constructor Details
This class inherits a constructor from BaseModel
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit.
21 22 23 |
# File 'lib/deltacloud/models/realm.rb', line 21 def limit @limit end |
#name ⇒ Object
Returns the value of attribute name.
20 21 22 |
# File 'lib/deltacloud/models/realm.rb', line 20 def name @name end |
#state ⇒ Object
Returns the value of attribute state.
22 23 24 |
# File 'lib/deltacloud/models/realm.rb', line 22 def state @state end |
Instance Method Details
#to_hash(context) ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/deltacloud/models/realm.rb', line 24 def to_hash(context) { :id => self.id, :name => name, :state => state, :limit => limit } end |