Class: Urbit::GroupParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/urbit/group_parser.rb

Instance Method Summary collapse

Methods inherited from Parser

#initialize

Constructor Details

This class inherits a constructor from Urbit::Parser

Instance Method Details

#resourceObject



8
9
10
# File 'lib/urbit/group_parser.rb', line 8

def resource
  "~#{self.resource_hash["ship"]}/#{self.resource_hash["name"]}"
end

#resource_hashObject



12
13
14
# File 'lib/urbit/group_parser.rb', line 12

def resource_hash
  @j["resource"]
end