Sha256: bb4de237c9f52c0679409d8e68e73495fda678ab2eb0325f6126810c31c39954

Contents?: true

Size: 311 Bytes

Versions: 17

Compression:

Stored size: 311 Bytes

Contents

module Foobara
  class CommandConnector
    module Commands
      class Ping < Foobara::Command
        result :datetime

        def execute
          set_pong

          pong
        end

        attr_accessor :pong

        def set_pong
          self.pong = Time.now
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foobara-0.0.26 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.25 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.24 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.23 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.22 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.21 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.20 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.19 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.18 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.17 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.16 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.15 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.14 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.13 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.12 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.11 projects/command_connectors/src/command_connector/commands/ping.rb
foobara-0.0.10 projects/command_connectors/src/command_connector/commands/ping.rb