Method: GoodData::Model::FromWire.parse_anchor

Defined in:
lib/gooddata/models/from_wire.rb

.parse_anchor(stuff) ⇒ Hash

Converts anchor from wire format into an internal blueprint representation

Parameters:

  • stuff (Hash)

    Whatever comes from wire

Returns:

  • (Hash)

    Manifest for a particular reference



54
55
56
57
# File 'lib/gooddata/models/from_wire.rb', line 54

def self.parse_anchor(stuff)
  anchor = stuff['dataset']['anchor']['attribute']
  parse_attribute(anchor, :anchor)
end