Sha256: e9219023ee5459b0d0bc20dfc0ded4657366f6b1c06d5f3f7820525fec393792

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

# encoding: utf-8
require 'ruby_ami/response'

module RubyAMI
  class Event < Response
    attr_reader :name

    def initialize(name, headers = {})
      super headers
      @name = name
    end

    def inspect_attributes
      [:name] + super
    end
  end
end # RubyAMI

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_ami-2.1.0 lib/ruby_ami/event.rb
ruby_ami-2.0.0 lib/ruby_ami/event.rb