class ExpressMailer::Button
Attributes
href[RW]
text[RW]
Public Class Methods
create(options)
click to toggle source
# File lib/express_mailer/button.rb, line 5 def self.create(options) if options new(options) else nil end end
new(options = {})
click to toggle source
# File lib/express_mailer/button.rb, line 13 def initialize(options = {}) @text = options.fetch(:text) @href = options.fetch(:href) end