Permalink
Browse files

Add plan_details key to the ServiceOfferingRequest

[#46157255]
  • Loading branch information...
1 parent 56d2551 commit e5d71831a19f9a59cf757b4e2bd25b2af32f1611 Jesse Zhang and Matt Royal committed Mar 14, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/services/api/messages.rb
@@ -26,6 +26,16 @@ class ServiceOfferingRequest < JsonMessage
optional :description, String
optional :info_url, URI::regexp(%w(http https))
optional :tags, [String]
+ optional :plan_details do
+ [
+ {
+ "name" => String,
+ "free" => bool,
+ optional("description") => String,
+ optional("extra") => String,
+ }
+ ]
+ end
optional :plans, [String]
optional :plan_descriptions
optional :cf_plan_id

0 comments on commit e5d7183

Please sign in to comment.