class WeebSh::Tag

Represents an Image tag for toph

Attributes

account[R]

@return [String] the ID of the creator

author[R]

@return [String] the ID of the creator

creator[R]

@return [String] the ID of the creator

hidden[R]

@return [true, false] whether or not this tag can only be seen by the uploader

hidden?[R]

@return [true, false] whether or not this tag can only be seen by the uploader

name[R]

@return [String] the name of the tag

Public Class Methods

new(data, interface) click to toggle source

@!visibility private

# File lib/weeb/data.rb, line 170
def initialize(data, interface)
  @interface = interface
  @name = data['name']
  @hidden = data['hidden']
  @account = data['account']
end

Public Instance Methods

inspect() click to toggle source

@!visibility private

# File lib/weeb/data.rb, line 178
def inspect
  "#<WeebSh::Tag @name=#{@name.inspect} @hidden=#{@hidden.inspect} @account=#{@account.inspect}>"
end