Sha256: 637d43dac7ebe1e74d2c222d245128fd21ba6dc35da994444a3acfb92fc956c3

Contents?: true

Size: 194 Bytes

Versions: 8

Compression:

Stored size: 194 Bytes

Contents

class OrangeContactForm < Orange::Carton
  id
  admin do
    title :title
    text :to_address
    text :from_address
  end
  
  def self.named(tag)
    all(:title.like => "%#{tag}%")
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
orange-more-0.7.3 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.7.2 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.7.1 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.6.5 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.6.4 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.6.3 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.6.2 lib/orange-more/contactforms/cartons/contactform_carton.rb
orange-more-0.6.0 lib/orange-more/contactforms/cartons/contactform_carton.rb