Sha256: d3032703bc7fd78e4b26d3f93bb62416331618eedc9608c17e097e13ff1003db
Contents?: true
Size: 792 Bytes
Versions: 13
Compression:
Stored size: 792 Bytes
Contents
module ExCite # Citation class, holds data from format and/or resource key class PushFormat # Required fields attr_accessor :name, :to_format, :action, :template, :url, :method, :enctype, :element_name, :callback_protocol alias :protocol= :callback_protocol= def initialize args = {} self.name = (args[:name] or 'Service') self.to_format = args[:to_format] self.action = (args[:action] or :render) self.template = (args[:template] or "ex_cite/cite/external_form") self.url = args[:url] self.method = (args[:method] or "POST") self.enctype = (args[:enctype] or "application/x-www-form-urlencoded") self.element_name = (args[:element_name] or "data") self.callback_protocol = (args[:protocol] or :http) end end end
Version data entries
13 entries across 13 versions & 1 rubygems