Class: Evesync::IPC::Data::Ignore

Inherits:
Object
  • Object
show all
Extended by:
Unhashable
Includes:
Hashable
Defined in:
lib/evesync/ipc/data/ignore.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Unhashable

from_hash

Methods included from Hashable

#to_hash

Constructor Details

#initialize(params) ⇒ Ignore

Returns a new instance of Ignore.



12
13
14
# File 'lib/evesync/ipc/data/ignore.rb', line 12

def initialize(params)
  @subject = params[:subject]
end

Instance Attribute Details

#subjectObject (readonly)

Returns the value of attribute subject.



10
11
12
# File 'lib/evesync/ipc/data/ignore.rb', line 10

def subject
  @subject
end

Instance Method Details

#to_sObject



16
17
18
# File 'lib/evesync/ipc/data/ignore.rb', line 16

def to_s
  "Ignoring: #{@subject}"
end