Sha256: 2648c5e72c7857f262901255485ef1378a3744e3705e291d0296f0c85f552af3

Contents?: true

Size: 419 Bytes

Versions: 52

Compression:

Stored size: 419 Bytes

Contents

class ForestLiana::Model::Action
  include ActiveModel::Validations
  include ActiveModel::Conversion
  include ActiveModel::Serialization
  extend ActiveModel::Naming

  attr_accessor :id, :name, :endpoint, :http_method, :fields, :redirect,
    :global, :download

  def initialize(attributes = {})
    attributes.each do |name, value|
      send("#{name}=", value)
    end
  end

  def persisted?
    false
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
forest_liana-1.9.4 app/models/forest_liana/model/action.rb
forest_liana-1.9.3 app/models/forest_liana/model/action.rb
forest_liana-1.9.2 app/models/forest_liana/model/action.rb
forest_liana-1.9.1 app/models/forest_liana/model/action.rb
forest_liana-1.9.0 app/models/forest_liana/model/action.rb
forest_liana-1.8.1 app/models/forest_liana/model/action.rb
forest_liana-1.8.0 app/models/forest_liana/model/action.rb
forest_liana-1.7.10 app/models/forest_liana/model/action.rb
forest_liana-1.7.9 app/models/forest_liana/model/action.rb
forest_liana-1.7.8 app/models/forest_liana/model/action.rb
forest_liana-1.7.7 app/models/forest_liana/model/action.rb
forest_liana-1.7.6 app/models/forest_liana/model/action.rb
forest_liana-1.7.5 app/models/forest_liana/model/action.rb
forest_liana-1.7.4 app/models/forest_liana/model/action.rb
forest_liana-1.7.3 app/models/forest_liana/model/action.rb
forest_liana-1.7.2 app/models/forest_liana/model/action.rb
forest_liana-1.7.1 app/models/forest_liana/model/action.rb
forest_liana-1.7.0 app/models/forest_liana/model/action.rb
forest_liana-1.6.17 app/models/forest_liana/model/action.rb
forest_liana-1.6.16 app/models/forest_liana/model/action.rb