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.6.15 app/models/forest_liana/model/action.rb
forest_liana-1.6.14 app/models/forest_liana/model/action.rb
forest_liana-1.6.13 app/models/forest_liana/model/action.rb
forest_liana-1.6.12 app/models/forest_liana/model/action.rb
forest_liana-1.6.11 app/models/forest_liana/model/action.rb
forest_liana-1.6.10 app/models/forest_liana/model/action.rb
forest_liana-1.6.7 app/models/forest_liana/model/action.rb
forest_liana-1.6.6 app/models/forest_liana/model/action.rb
forest_liana-1.6.5 app/models/forest_liana/model/action.rb
forest_liana-1.6.4 app/models/forest_liana/model/action.rb
forest_liana-1.6.3 app/models/forest_liana/model/action.rb
forest_liana-1.6.2 app/models/forest_liana/model/action.rb