lib/candy_check/play_store/discovery_repository.rb
# Tries to save a local copy of the discovery API.
# @param discovery [Google::APIClient::API]
Tries to save a local copy of the discovery API.
Tries to save a local copy of the discovery API .
def save(discovery)
        return unless @file_path && discovery
        File.open(@file_path, 'wb') do |file|
          Marshal.dump(discovery, file)
        end
      end
def save ( discovery ) return unless @file_path && discovery File . open ( @file_path , 'wb' ) do | file | Marshal . dump ( discovery , file ) end end
Tries to save a local copy of the discovery API.
Tries to save a local copy of the discovery API .
discovery
<not_specific>
<not_specific>
None