Sha256: dd2e62bdcd76e1bc8d2830e08444c6628363b61e4eb148bb346954a6cb4887a1

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

module SmsTeknik
  class Message
    attr_accessor :from, :to, :body

    def initialize(attributes = {})
      @from = attributes[:from]
      @to = attributes[:to]
      @body = attributes[:body]
    end

    def to
      Array(@to)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sms_teknik-1.0.0 lib/sms_teknik/message.rb
sms_teknik-0.1.0 lib/sms_teknik/message.rb