Sha256: cbb1de7a273e901ebd4781c440c938cb28aae80e695c414e6242ea9898e50a57

Contents?: true

Size: 964 Bytes

Versions: 2

Compression:

Stored size: 964 Bytes

Contents

# Copyright (c) Microsoft Corporation
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License"); 
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
#
# THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR 
# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING 
# WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE,
# FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. 

# See the Apache Version 2.0 License for specific language governing
# permissions and limitations under the License.

module Yammer
  class MessageBody
    attr_reader :urls, :parsed, :rich
    attr_accessor :plain

    def initialize(opts={})
      @plain  = opts.fetch(:plain,'')
      @parsed = opts.fetch(:parsed,'')
      @rich   = opts.fetch(:rich,'')
      @urls   = opts.fetch(:urls,'')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yam-1.1.0 lib/yammer/message_body.rb
yam-1.0.0 lib/yammer/message_body.rb