Class: TortoiseLabs::Support::Reply
- Inherits:
-
Object
- Object
- TortoiseLabs::Support::Reply
- Defined in:
- lib/tortoiselabs/support.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#replied_at ⇒ Object
readonly
Returns the value of attribute replied_at.
-
#ticket ⇒ Object
readonly
Returns the value of attribute ticket.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(rhash) ⇒ Reply
constructor
A new instance of Reply.
Constructor Details
#initialize(rhash) ⇒ Reply
Returns a new instance of Reply.
60 61 62 63 |
# File 'lib/tortoiselabs/support.rb', line 60 def initialize(rhash) , @replied_at = rhash["message"], rhash["replied_at"] @ticket, @user = rhash["ticket"], rhash["user"] end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
58 59 60 |
# File 'lib/tortoiselabs/support.rb', line 58 def end |
#replied_at ⇒ Object (readonly)
Returns the value of attribute replied_at.
58 59 60 |
# File 'lib/tortoiselabs/support.rb', line 58 def replied_at @replied_at end |
#ticket ⇒ Object (readonly)
Returns the value of attribute ticket.
58 59 60 |
# File 'lib/tortoiselabs/support.rb', line 58 def ticket @ticket end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
58 59 60 |
# File 'lib/tortoiselabs/support.rb', line 58 def user @user end |