Class: Urbit::AddGraphParser

Inherits:
GraphParser show all
Defined in:
lib/urbit/parser.rb

Instance Method Summary collapse

Methods inherited from GraphParser

#add_nodes, #initialize, #resource

Methods inherited from Parser

#initialize

Constructor Details

This class inherits a constructor from Urbit::GraphParser

Instance Method Details

#nodes_hashObject



43
44
45
# File 'lib/urbit/parser.rb', line 43

def nodes_hash
  @j["graph"]
end

#resource_hashObject



47
48
49
# File 'lib/urbit/parser.rb', line 47

def resource_hash
  @j["resource"]
end