Class: GetSchwifty::Cable::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/get_schwifty/cable/base.rb

Overview

:nodoc

Direct Known Subclasses

BaseCable

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(schwifty_job_id, params, identifiers) ⇒ Base

Returns a new instance of Base.



9
10
11
12
13
# File 'lib/get_schwifty/cable/base.rb', line 9

def initialize(schwifty_job_id, params, identifiers)
  @schwifty_job_id = schwifty_job_id
  @identifiers = identifiers.symbolize_keys!
  @params = params
end

Instance Attribute Details

#identifiersObject (readonly)

Returns the value of attribute identifiers.



7
8
9
# File 'lib/get_schwifty/cable/base.rb', line 7

def identifiers
  @identifiers
end

#paramsObject (readonly)

Returns the value of attribute params.



7
8
9
# File 'lib/get_schwifty/cable/base.rb', line 7

def params
  @params
end

#schwifty_job_idObject (readonly)

Returns the value of attribute schwifty_job_id.



7
8
9
# File 'lib/get_schwifty/cable/base.rb', line 7

def schwifty_job_id
  @schwifty_job_id
end