Sha256: 07651538ca0989a92fa88507cb75b34eb1ae7ce710cfb7c16963de5352d7a001

Contents?: true

Size: 604 Bytes

Versions: 11

Compression:

Stored size: 604 Bytes

Contents

module Aptible
  module Api
    class MaintenanceApp < Resource
      belongs_to :account
      field :id
      field :handle
      field :created_at
      field :updated_at
      field :status
      field :maintenance_deadline
      def self.collection_href
        '/maintenances/apps'
      end
    end
    class MaintenanceDatabase < Resource
      belongs_to :account
      field :id
      field :handle
      field :created_at
      field :updated_at
      field :status
      field :maintenance_deadline
      def self.collection_href
        '/maintenances/databases'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
aptible-api-1.6.5 lib/aptible/api/maintenance.rb
aptible-api-1.6.4 lib/aptible/api/maintenance.rb
aptible-api-1.6.3 lib/aptible/api/maintenance.rb
aptible-api-1.6.2 lib/aptible/api/maintenance.rb
aptible-api-1.6.1 lib/aptible/api/maintenance.rb
aptible-api-1.6.0 lib/aptible/api/maintenance.rb
aptible-api-1.5.4 lib/aptible/api/maintenance.rb
aptible-api-1.5.1 lib/aptible/api/maintenance.rb
aptible-api-1.5.0 lib/aptible/api/maintenance.rb
aptible-api-1.4.8 lib/aptible/api/maintenance.rb
aptible-api-1.4.7 lib/aptible/api/maintenance.rb