Method: AEMO::NEM12.default_nem12_100

Defined in:
lib/aemo/nem12.rb

.default_nem12_100String

Default NEM12 100 row record.

Returns:

  • (String)

Since:

  • 0.1.4


104
105
106
107
108
# File 'lib/aemo/nem12.rb', line 104

def default_nem12_100 # rubocop:disable Naming/VariableNumber
  timestamp = AEMO::Time.format_timestamp12(::Time.now)

  "100,NEM12,#{timestamp},ENOSI,ENOSI#{CRLF}"
end