Sha256: 188bc701ce65b8b35eaf9526aa68a60ecedc27500074c9af130c15c22d0f3470

Contents?: true

Size: 640 Bytes

Versions: 11

Compression:

Stored size: 640 Bytes

Contents

class Brief::Apps::Blueprint::Milestone
  include Brief::Model
  include Brief::RemoteSyncing

  defined_in Pathname(__FILE__)

  meta do
    title
    number
    projects
    personas
    due_date
    tags Array
  end

  content do
    title "h1:first-of-type", :hide => true
    paragraph "p:first-of-type"
    paragraphs "p"
    yaml_data "code.yaml:first-of-type", :serialize => :yaml, :hide => true
  end

  actions do
    def publish
      publish_service.publish(self, via: briefcase.settings.try(:tracking_system))
    end

    def sync
      sync_service.sync(self, via: briefcase.settings.try(:tracking_system))
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
brief-1.17.14 apps/blueprint/models/milestone.rb
brief-1.17.13 apps/blueprint/models/milestone.rb
brief-1.17.12 apps/blueprint/models/milestone.rb
brief-1.17.11 apps/blueprint/models/milestone.rb
brief-1.17.10 apps/blueprint/models/milestone.rb
brief-1.17.9 apps/blueprint/models/milestone.rb
brief-1.17.8 apps/blueprint/models/milestone.rb
brief-1.17.7 apps/blueprint/models/milestone.rb
brief-1.17.5 apps/blueprint/models/milestone.rb
brief-1.17.4 apps/blueprint/models/milestone.rb
brief-1.17.3 apps/blueprint/models/milestone.rb