Sha256: ea04a224b9b6ede0390f483eac278210f6a69201d59e34a6eff34ddffd1fdd92

Contents?: true

Size: 380 Bytes

Versions: 10

Compression:

Stored size: 380 Bytes

Contents

require 'rest-client'
require 'json'
require 'minitar'
module Popito
  class IncludedFiles < Popito::ClientBase
    def included_files_list
      response = RestClient.get("#{config_payload.api_endpoint}/api/v1/included-files", headers = default_headers)
      JSON.parse(response.body)
    rescue RestClient::UnprocessableEntity => e
      raise parse_error(e)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
popito-0.0.11.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.10.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.9.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.8.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.7.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.6.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.5.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.4.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.3.alpha lib/popito/deployer/client/included_files.rb
popito-0.0.2.alpha lib/popito/deployer/client/included_files.rb