Sha256: 5ced8348255003b97f48adfdc8b415da30fac9329e08d58da5a38715742698ed

Contents?: true

Size: 553 Bytes

Versions: 8

Compression:

Stored size: 553 Bytes

Contents

require "jfoundry/v2/model"

module JFoundry::V2
  class Service < Model
    attribute :label, String
    attribute :provider, String
    attribute :url, :url
    attribute :description, String
    attribute :version, String
    attribute :info_url, :url
    attribute :acls, { "users" => [String], "wildcards" => [String] },
      :default => nil
    attribute :timeout, Integer, :default => nil
    attribute :active, :boolean, :default => false
    attribute :extra, String
    to_many   :service_plans

    queryable_by :service_plan_guid
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jfoundry-0.1.7 lib/jfoundry/v2/service.rb
jfoundry-0.1.6 lib/jfoundry/v2/service.rb
jfoundry-0.1.4 lib/jfoundry/v2/service.rb
jfoundry-0.1.3 lib/jfoundry/v2/service.rb
jfoundry-0.1.2 lib/jfoundry/v2/service.rb
jfoundry-0.1.1 lib/jfoundry/v2/service.rb
jfoundry-0.1.0.pre lib/jfoundry/v2/service.rb
jfoundry-0.1.0 lib/jfoundry/v2/service.rb