Class: CommandFeedback::Service::SuccessfulFeedback
- Inherits:
-
Object
- Object
- CommandFeedback::Service::SuccessfulFeedback
- Defined in:
- lib/command_feedback/feedback.rb
Instance Attribute Summary collapse
-
#admin_link ⇒ Object
readonly
Returns the value of attribute admin_link.
-
#feedback_link ⇒ Object
readonly
Returns the value of attribute feedback_link.
Instance Method Summary collapse
-
#initialize(data_json) ⇒ SuccessfulFeedback
constructor
A new instance of SuccessfulFeedback.
- #successfull? ⇒ Boolean
Constructor Details
#initialize(data_json) ⇒ SuccessfulFeedback
Returns a new instance of SuccessfulFeedback.
67 68 69 70 |
# File 'lib/command_feedback/feedback.rb', line 67 def initialize(data_json) @admin_link = data_json["admin_link"] @feedback_link = data_json["feedback_link"] end |
Instance Attribute Details
#admin_link ⇒ Object (readonly)
Returns the value of attribute admin_link.
65 66 67 |
# File 'lib/command_feedback/feedback.rb', line 65 def admin_link @admin_link end |
#feedback_link ⇒ Object (readonly)
Returns the value of attribute feedback_link.
65 66 67 |
# File 'lib/command_feedback/feedback.rb', line 65 def feedback_link @feedback_link end |
Instance Method Details
#successfull? ⇒ Boolean
72 73 74 |
# File 'lib/command_feedback/feedback.rb', line 72 def successfull? true end |