From dba065eaa350396a3aa421c1961d059bc6fd0bd4 Mon Sep 17 00:00:00 2001 From: Ian Docherty Date: Sat, 7 Jul 2012 08:47:51 -0400 Subject: [PATCH] Documentation correction --- docs/Archaeology.pod | 18 ++---------------- lib/Lacuna/RPC/Building/Archaeology.pm | 4 ++-- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/docs/Archaeology.pod b/docs/Archaeology.pod index 70307dca..1fce7466 100644 --- a/docs/Archaeology.pod +++ b/docs/Archaeology.pod @@ -50,20 +50,7 @@ The unique id of the Archaeology Ministry. =head2 get_glyphs ( session_id, building_id ) -Returns a list of glyphs that have been found by this archaeology ministry. - - { - "status" : { ... }, - "glyphs" : [ - { - "id" : "id-goes-here", - "type" : "bauxite", - "quantity" : 2 - }, - ... - ] - } - +This API call is now deprecated, please use get_glyph_summary instead. =head2 get_glyph_summary ( session_id, building_id ) @@ -73,6 +60,7 @@ Returns a summary of all glyphs that may be assembled in this archaeology minist "glyphs" : [ { "id" : "id-goes-here", + "type: : "bauxite", "type" : "bauxite", "quantity" : 2 }, @@ -118,8 +106,6 @@ An array reference containing an ordered list of up to four glyph types. An optional quantity; if left blank it defaults to 1, otherwise specify the number of times to assemble the indicated glyphs up to a maximum of 50. - - =head2 get_ores_available_for_processing (session_id, building_id) Returns a list of ore names that the user has enough of to process for glyphs. diff --git a/lib/Lacuna/RPC/Building/Archaeology.pm b/lib/Lacuna/RPC/Building/Archaeology.pm index 17b5a79e..61c6d84a 100644 --- a/lib/Lacuna/RPC/Building/Archaeology.pm +++ b/lib/Lacuna/RPC/Building/Archaeology.pm @@ -61,8 +61,8 @@ sub get_glyph_summary { } return { - glyphs => \@out, - status => $self->format_status($empire, $building->body), + glyphs => \@out, + status => $self->format_status($empire, $building->body), }; } -- 2.51.2