Sha256: f1344895212ce870fce2b689a93419879bd6670db83b3551e781731c67297b4a

Contents?: true

Size: 446 Bytes

Versions: 7

Compression:

Stored size: 446 Bytes

Contents

module Jets::Api
  class Release < Base
    class << self
      def list(params={})
        params = global_params.merge(params)
        api.get("releases", params)
      end

      def retrieve(id, params={})
        params = global_params.merge(params)
        api.get("releases/#{id}", params)
      end

      def create(params={})
        params = global_params.merge(params)
        api.post("releases", params)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jets-api-0.2.0 lib/jets/api/release.rb
jets-api-0.1.5 lib/jets/api/release.rb
jets-api-0.1.4 lib/jets/api/release.rb
jets-api-0.1.3 lib/jets/api/release.rb
jets-api-0.1.2 lib/jets/api/release.rb
jets-api-0.1.1 lib/jets/api/release.rb
jets-api-0.1.0 lib/jets/api/release.rb