Sha256: a3b31539ac1fa446eb5ab03b66532aa16b2615252172a72e9084bf4159ca2ae2

Contents?: true

Size: 245 Bytes

Versions: 2

Compression:

Stored size: 245 Bytes

Contents

require 'aptible/resource'

class Api < Aptible::Resource::Base
  has_many :mainframes
  embeds_many :embedded_mainframes
  embeds_one :best_mainframe

  def namespace
    'Api'
  end

  def root_url
    'https://resource.example.com'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aptible-resource-1.0.2 spec/fixtures/api.rb
aptible-resource-1.0.1 spec/fixtures/api.rb