Class: Agentilda::Linear::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/agentilda/linear/push.rb

Overview

What one Action actually did.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionAgentilda::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

#errorString? (readonly)

Returns why it did not happen.

Returns:

  • (String, nil)

    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

#identifierString? (readonly)

Returns "TAX-41".

Returns:

  • (String, nil)

    "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

#urlString? (readonly)

Returns:

  • (String, nil)


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

Returns:

  • (Boolean)


17
# File 'lib/agentilda/linear/push.rb', line 17

def ok? = error.nil?