Method: Pixela::Client::GraphMethods#get_graphs

Defined in:
lib/pixela/client/graph_methods.rb

#get_graphsArray<Hashie::Mash>

Get all predefined pixelation graph definitions.

Examples:

client.get_graphs

Returns:

  • (Array<Hashie::Mash>)

Raises:

See Also:



50
51
52
53
54
# File 'lib/pixela/client/graph_methods.rb', line 50

def get_graphs
  with_error_handling do
    connection.get("users/#{username}/graphs").body.graphs
  end
end