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-2.3.5 app/models/forest_liana/model/action.rb
forest_liana-2.3.4 app/models/forest_liana/model/action.rb
forest_liana-2.3.3 app/models/forest_liana/model/action.rb
forest_liana-2.3.2 app/models/forest_liana/model/action.rb
forest_liana-2.3.1 app/models/forest_liana/model/action.rb
forest_liana-2.3.0 app/models/forest_liana/model/action.rb
forest_liana-2.2.2 app/models/forest_liana/model/action.rb
forest_liana-2.2.1 app/models/forest_liana/model/action.rb
forest_liana-2.2.0 app/models/forest_liana/model/action.rb
forest_liana-2.1.1 app/models/forest_liana/model/action.rb
forest_liana-2.1.0 app/models/forest_liana/model/action.rb
forest_liana-2.0.4 app/models/forest_liana/model/action.rb
forest_liana-2.0.3 app/models/forest_liana/model/action.rb
forest_liana-2.0.2 app/models/forest_liana/model/action.rb
forest_liana-2.0.1 app/models/forest_liana/model/action.rb
forest_liana-2.0.0 app/models/forest_liana/model/action.rb
forest_liana-1.9.8 app/models/forest_liana/model/action.rb
forest_liana-1.9.7 app/models/forest_liana/model/action.rb
forest_liana-1.9.6 app/models/forest_liana/model/action.rb
forest_liana-1.9.5 app/models/forest_liana/model/action.rb