Class: Udb::Portfolio::ExtraNote

Inherits:
Object
  • Object
show all
Defined in:
lib/udb/obj/portfolio.rb

Overview

ExtraNote Subclass #

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ExtraNote

Returns a new instance of ExtraNote.



801
802
803
804
805
# File 'lib/udb/obj/portfolio.rb', line 801

def initialize(data)
  @data = data

  @presence_obj = Presence.new(@data["presence"])
end

Instance Method Details

#presence_objObject



807
# File 'lib/udb/obj/portfolio.rb', line 807

def presence_obj = @presence_obj

#textObject



808
# File 'lib/udb/obj/portfolio.rb', line 808

def text = @data["text"]