Sha256: 01b1ad95ea35f86f584d915b331ecd7e322c9f724c15a6621a3a74556924da36
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
module Troo module Commands module Refresh class Board < Resource private def many_success 'Multiple boards refreshed.' end def error return 'Default board cannot be found.' unless id @type = :board 'Board cannot be found. ' + error_no_default end def resource return [] unless local @resource ||= External::Board.fetch(local.external_board_id) end def local @local ||= Retrieval::Board.retrieve(id) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.8 | lib/troo/commands/refresh/board.rb |