Sha256: d506b75c13ae9977af93d052d7af3b67baa2653a15baa9803275e0e718dd0b84

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

module Troo
  module Commands
    module Show
      class Comments < Resource
        private

        def presenter
          resource.comment_presenter.show
        end

        def resource
          Retrieval::Card.retrieve(id)
        end

        def error_not_found
          'Card cannot be found.'
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.8 lib/troo/commands/show/comments.rb