Sha256: cff8a6770eb682505c404a82ccb16d36909d53542e3d041e5e2bf0c4c869f3f2

Contents?: true

Size: 226 Bytes

Versions: 6

Compression:

Stored size: 226 Bytes

Contents

class ActiveModelObject
  include ActiveModel::Model
  include SpreadsheetArchitect

  attr_accessor :name, :content, :created_at

  def spreadsheet_columns
    [
      :name,
      :content,
      :created_at
    ]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spreadsheet_architect-2.1.2 test/dummy_app/app/models/active_model_object.rb
spreadsheet_architect-2.1.1 test/dummy_app/app/models/active_model_object.rb
spreadsheet_architect-2.1.0 test/dummy_app/app/models/active_model_object.rb
spreadsheet_architect-2.0.2 test/rails_app/app/models/active_model_object.rb
spreadsheet_architect-2.0.1 test/rails_app/app/models/active_model_object.rb
spreadsheet_architect-2.0.0 test/rails_app/app/models/active_model_object.rb