Class: Textus::Application::Reads::Published

Inherits:
Object
  • Object
show all
Defined in:
lib/textus/application/reads/published.rb

Instance Method Summary collapse

Constructor Details

#initialize(ctx:) ⇒ Published

Returns a new instance of Published.



5
6
7
# File 'lib/textus/application/reads/published.rb', line 5

def initialize(ctx:)
  @ctx = ctx
end

Instance Method Details

#callObject



9
10
11
# File 'lib/textus/application/reads/published.rb', line 9

def call
  @ctx.store.reader.published
end