Sha256: 576e71ad16d5be5e3534ff6f773cc9e826cd280f5f805906d86bdc6b0751508c

Contents?: true

Size: 149 Bytes

Versions: 7

Compression:

Stored size: 149 Bytes

Contents

class DecoratorWithSpecialMethods < Draper::Base
  def to_param
    "foo"
  end

  def id
    1337
  end

  def errors
    ["omg errors!"]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
draper-0.18.0 spec/support/samples/decorator_with_special_methods.rb
draper-0.17.0 spec/support/samples/decorator_with_special_methods.rb
draper-0.16.0 spec/support/samples/decorator_with_special_methods.rb
draper-0.15.0 spec/support/samples/decorator_with_special_methods.rb
draper-0.15.0rc1 spec/support/samples/decorator_with_special_methods.rb
draper-0.14.0 spec/support/samples/decorator_with_special_methods.rb
draper-0.13.0 spec/support/samples/decorator_with_special_methods.rb