Sha256: bdb88995e1c211a624532ba949b3d78773ebeac1529c8ce5211fd01c111f2bca

Contents?: true

Size: 471 Bytes

Versions: 6

Compression:

Stored size: 471 Bytes

Contents

module Punchblock
  ##
  # An rayo Ref message. This provides the command ID in response to execution of a command.
  #
  class Ref < RayoNode
    register :ref, :core

    ##
    # @return [String] the command ID
    #
    def id
      read_attr :id
    end

    ##
    # @param [String] ref_id the command ID
    #
    def id=(ref_id)
      write_attr :id, ref_id
    end

    def inspect_attributes # :nodoc:
      [:id] + super
    end
  end # Offer
end # Punchblock

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
punchblock-0.5.1 lib/punchblock/ref.rb
punchblock-0.5.0 lib/punchblock/ref.rb
punchblock-0.4.3 lib/punchblock/ref.rb
punchblock-0.4.2 lib/punchblock/ref.rb
punchblock-0.4.1 lib/punchblock/ref.rb
punchblock-0.4.0 lib/punchblock/ref.rb