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.



918
919
920
921
922
# File 'lib/udb/obj/portfolio.rb', line 918

def initialize(data)
  @data = data

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

Instance Method Details

#presence_objObject



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

def presence_obj = @presence_obj

#textObject



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

def text = @data["text"]