Class: Agentilda::Linear::Result
- Inherits:
-
Data
- Object
- Data
- Agentilda::Linear::Result
- Defined in:
- lib/agentilda/linear/push.rb
Overview
What one Action actually did.
Instance Attribute Summary collapse
- #action ⇒ Agentilda::Linear::Action readonly
-
#error ⇒ String?
readonly
Why it did not happen.
-
#identifier ⇒ String?
readonly
"TAX-41".
- #url ⇒ String? readonly
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Agentilda::Linear::Action (readonly)
15 16 17 18 |
# File 'lib/agentilda/linear/push.rb', line 15 Result = Data.define(:action, :identifier, :url, :error) do # @return [Boolean] def ok? = error.nil? end |
#error ⇒ String? (readonly)
Returns why it did not happen.
15 16 17 18 |
# File 'lib/agentilda/linear/push.rb', line 15 Result = Data.define(:action, :identifier, :url, :error) do # @return [Boolean] def ok? = error.nil? end |
#identifier ⇒ String? (readonly)
Returns "TAX-41".
15 16 17 18 |
# File 'lib/agentilda/linear/push.rb', line 15 Result = Data.define(:action, :identifier, :url, :error) do # @return [Boolean] def ok? = error.nil? end |
#url ⇒ String? (readonly)
15 16 17 18 |
# File 'lib/agentilda/linear/push.rb', line 15 Result = Data.define(:action, :identifier, :url, :error) do # @return [Boolean] def ok? = error.nil? end |
Instance Method Details
#ok? ⇒ Boolean
17 |
# File 'lib/agentilda/linear/push.rb', line 17 def ok? = error.nil? |