Class: PostingHistory

Inherits:
Struct
  • Object
show all
Defined in:
lib/models/posting_history.rb

Overview

Class PostingHistory represents structure of history

history = PostingHistory.new
history.history # => String

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

from_array, from_hash

Instance Attribute Details

#historyObject

Returns the value of attribute history

Returns:

  • (Object)

    the current value of history



6
7
8
# File 'lib/models/posting_history.rb', line 6

def history
  @history
end