Sha256: b9141bc7987c65e2b149d97b20c6d5a82235c6934959463ebe6f07634aa36dce

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

module Rubyoverflow
  class Tag
    attr_reader :name
    attr_reader :count
    attr_reader :restricted_to
    attr_reader :fulfills_required
    attr_reader :user_id
  
    def initialize(hash, request_path = '')
      dash = TagDash.new hash
      @name = dash.name
      @count = dash.count
      @restricted_to = dash.restricted_to
      @fulfills_required = dash.fulfills_required
      @user_id = dash.user_id
    end
  
  end

  class TagDash < BaseDash
    property :name
    property :count
    property :restricted_to
    property :fulfills_required
    property :user_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyoverflow-1.0.2 lib/rubyoverflow/tag.rb