Sha256: 53887e083159c1b177d4d737418baffcf9f6b95b16b9a4d76f914d34f47bf01e

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module FaceGroup
  # Attached URL to Posting
  class Attachment
    attr_reader :description, :url

    def initialize(data)
      return unless data
      @description = data['description']
      @url = data['url']
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facegroup-0.1.0 lib/facegroup/attachment.rb