Sha256: 9d2ec5d1d24afabe7d3e781d4e477323484754a19d98fe9e1d897144174ff8b7

Contents?: true

Size: 294 Bytes

Versions: 7

Compression:

Stored size: 294 Bytes

Contents

require 'cloudflair/entity'

module Cloudflair
  class AvailablePlan
    include Cloudflair::Entity

    attr_reader :zone_id, :plan_id

    path 'zones/:zone_id/available_plans/:plan_id'

    def initialize(zone_id, plan_id)
      @zone_id = zone_id
      @plan_id = plan_id
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloudflair-0.2.5 lib/cloudflair/api/zone/available_plan.rb
cloudflair-0.2.4 lib/cloudflair/api/zone/available_plan.rb
cloudflair-0.2.0 lib/cloudflair/api/zone/available_plan.rb
cloudflair-0.1.0 lib/cloudflair/api/zone/available_plan.rb
cloudflair-0.0.9 lib/cloudflair/api/zone/available_plan.rb
cloudflair-0.0.8 lib/cloudflair/api/zone/available_plan.rb
cloudflair-0.0.7 lib/cloudflair/api/zone/available_plan.rb