supply/lib/supply/client.rb
# Returns the listing for the given language filled with the current values if it already exists
Returns the listing for the given language filled with the current values if it already exists
Returns the listing for the given language filled with the current values if it already exists
def listing_for_language(language)
      ensure_active_edit!
      begin
        result = client.get_edit_listing(
          current_package_name,
          current_edit.id,
          language
        )
        return Listing.new(self, language, result)
      rescue Google::Apis::ClientError => e
        return Listing.new(self, language) if e.status_code == 404 
        raise
      end
    end
def listing_for_language ( language ) ensure_active_edit! begin result = client . get_edit_listing ( current_package_name , current_edit . id , language ) return Listing . new ( self , language , result ) rescue Google :: Apis :: ClientError => e return Listing . new ( self , language ) if e . status_code == 404 raise end end
Returns the listing for the given language filled with the current values if it already exists
Returns the listing for the given language filled with the current values if it already exists
# create a new empty listing
language
<not_specific>