Class: Hws::Connectors::Dto::Entity
- Inherits:
-
Object
- Object
- Hws::Connectors::Dto::Entity
- Defined in:
- lib/hws-connectors/dto/common/entity.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name: nil) ⇒ Entity
constructor
A new instance of Entity.
Constructor Details
#initialize(name: nil) ⇒ Entity
Returns a new instance of Entity.
4 5 6 |
# File 'lib/hws-connectors/dto/common/entity.rb', line 4 def initialize(name: nil) @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/hws-connectors/dto/common/entity.rb', line 2 def name @name end |