Sha256: 0dba01cd460829b8c3e72b4a04b2ffb6f3be0548f0439122d2326a98682d745c

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

require 'rest-client'
require 'json'
require 'minitar'
module Popito
  class IncludedFiles < Popito::ClientBase
    def included_files_list
      response = RestClient.get("#{API_HOST}/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

1 entries across 1 versions & 1 rubygems

Version Path
popito-0.0.1.alpha lib/popito/deployer/client/included_files.rb