Sha256: 9dd48fcacf6a0189d633a40f11d7c3f6e43b1520b7a23c3cc283a2f6399bf4a3

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

require 'startling'

module StartlingTrello
  class Story < Startling::Story
    attr_accessor :card

    def initialize(card)
      @card = card
    end

    def pull_request_title
      card.name
    end

    def pull_request_body_text
      card.short_url
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
startling_trello-0.0.4 lib/startling_trello/story.rb
startling_trello-0.0.3 lib/startling_trello/story.rb
startling_trello-0.0.2 lib/startling_trello/story.rb
startling_trello-0.0.1 lib/startling_trello/story.rb