lib/establish/app_metadata.rb in establish-0.0.31 vs lib/establish/app_metadata.rb in establish-0.0.32
- old
+ new
@@ -56,25 +56,25 @@
field.children = node_set
end
end
+ # Usage: '//x:keyword'
+ def fetch_value(xpath)
+ @data.xpath(xpath, "x" => ITUNES_NAMESPACE)
+ end
+
#####################################################
# Uploading the updated metadata
#####################################################
# Actually upload the updated metadata to Apple
def upload!
transporter.upload(@app, @app.get_metadata_directory)
end
private
-
- # Usage: '//x:keyword'
- def fetch_value(xpath)
- @data.xpath(xpath, "x" => ITUNES_NAMESPACE)
- end
def update_localized_value(xpath_name, new_value)
raise AppMetadataParameterError.new("Please pass a hash of languages to this method") unless new_value.kind_of?Hash
raise AppMetadataParameterError.new("Please pass a block, which updates the resulting node") unless block_given?
\ No newline at end of file