Sha256: 93bbdf97a63cf85ffc8115a695c140feb2d0b6b285f271f6ac9e25f2ace6849c

Contents?: true

Size: 286 Bytes

Versions: 7

Compression:

Stored size: 286 Bytes

Contents

module Services
  module Trello
    module Boards
      class GetById
        def initialize(id)
          @id = id
        end

        def call
          begin
            ::Trello::Board.find(@id)
          rescue
            nil
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb
hubspot-api-client-8.0.1 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb
hubspot-api-client-8.0.0 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb
hubspot-api-client-7.3.0 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb
hubspot-api-client-7.2.0 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb
hubspot-api-client-7.1.1 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb
hubspot-api-client-7.1.0 sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb