Parent

Methods

Wonderfl::User

Attributes

icon[R]

(Not documented)

external_url[R]

(Not documented)

name[R]

(Not documented)

description[R]

(Not documented)

Public Class Methods

new(payload) click to toggle source

(Not documented)

# File lib/wonderfl/user.rb, line 4
  def initialize(payload)
    raise TypeError, 'Hash argument expected' unless payload.is_a? Hash
    @icon = payload['icon']
    @external_url = payload['external_url']
    @name = payload['name']
    @description = payload['description']
  end

Public Instance Methods

to_s() click to toggle source

(Not documented)

# File lib/wonderfl/user.rb, line 12
  def to_s
     "Wonderfl::User {\nicon => \#{@icon}\nexternal_url => \#{@external_url}\nname => \#{@name}\ndescription => \#{@description}\n}\n"
  end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.