Sha256: 1883822e74232e7d57a10cbf4ae167e637ffd7ff03707e775c9f70a59a920a40

Contents?: true

Size: 380 Bytes

Versions: 12

Compression:

Stored size: 380 Bytes

Contents

class Smartsend::Services
  attr_accessor :email_notification, :sms_notification, :flex_delivery

  def initialize(args={})
    args.each do |k, v|
      instance_variable_set "@#{k}", v
    end
  end

  def serialize
    {
      :email_notification => email_notification,
      :sms_notification   => sms_notification,
      :flex_delivery      => flex_delivery
    }
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
smartsend-ruby-0.5.1 lib/smartsend/services.rb
smartsend-ruby-0.5.0 lib/smartsend/services.rb
smartsend-ruby-0.4.3 lib/smartsend/services.rb
smartsend-ruby-0.4.2 lib/smartsend/services.rb
smartsend-ruby-0.4.1 lib/smartsend/services.rb
smartsend-ruby-0.4.0 lib/smartsend/services.rb
smartsend-ruby-0.3.2 lib/smartsend/services.rb
smartsend-ruby-0.3.1 lib/smartsend/services.rb
smartsend-ruby-0.3 lib/smartsend/services.rb
smartsend-ruby-0.2.2 lib/smartsend/services.rb
smartsend-ruby-0.2.1 lib/smartsend/services.rb
smartsend-ruby-0.2.0 lib/smartsend/services.rb