As you can see, this is realatively simple and straight forward. It doesn’t matter what is inside whatever tag you have used to store your data, you’re just referencing the attributes of the tag itself. Also, it could be any type of tag. This is easy when the data you need to access isn’t an object, but it a more primative data type, or string.
The Gon Gem is another way to do this, and it is generally more useful
when you are trying to pass more complex data-types, such as objects. Very simply, just install Gon: