Sha256: f5f1c0850d6a5ba26f523ea591c6ab8a4037ca35c4ab13ee541b5d314ff98486

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

Stored size: 241 Bytes

Contents

module DockHealthApi
  module Crud
    module Get
      def get(id)
        response = execute_request(:get, "#{resource_url}/#{id}", headers: headers )
        return response.parsed
        new(response.parsed)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dock_health_api-0.4.1 lib/dock_health_api/crud/get.rb
dock_health_api-0.4.0 lib/dock_health_api/crud/get.rb
dock_health_api-0.3.6 lib/dock_health_api/crud/get.rb