Sha256: 05faef89b93ac3e31ab806bb620f19deae4a509bea6791a27224aa70fddf9746

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

module ExCite
  # Citation class, holds data from format and/or resource key
  class PushFormat
    # Required fields
    attr_accessor :name, :to_format, :action, :vars, :template, :url
    def initialize args = {}
      self.name = args[:name]
      self.to_format = args[:to_format]
      self.action = args[:action]
      self.vars = args[:vars]
      self.template = args[:template]
      self.url = args[:url]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ex_cite-1.0.1 app/models/ex_cite/push_format.rb
ex_cite-1.0.0 app/models/ex_cite/push_format.rb