class Capwatch::Fund::Config::Parser
Attributes
name[RW]
positions[RW]
raw_data[RW]
Public Class Methods
new(source:)
click to toggle source
# File lib/capwatch/fund/config.rb, line 38 def initialize(source:) @raw_data = source.get_data end
Public Instance Methods
parse()
click to toggle source
# File lib/capwatch/fund/config.rb, line 42 def parse @parse ||= JSON.parse(raw_data) end