class Object

Attributes

__pivotal_tracker_options[RW]

Public Class Methods

pivotal_tracker_for(attribute, options = {}) click to toggle source
# File lib/peaty/integration.rb, line 28
def self.pivotal_tracker_for(attribute, options = {})
  options = options.with_indifferent_access
  options.reverse_merge!( :attribute => attribute,
                          :method_prefix => :pivotal_tracker )
  
  class << self; attr_accessor :__pivotal_tracker_options; end
  self.__pivotal_tracker_options = options
  self.send(:include, Peaty::Integration)
end