Skip to content

Commit

Permalink
Regenerate Ruby Samples and remove old Samples
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah committed Jun 30, 2016
1 parent 8b15c24 commit 20b4a28
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,35 @@
require 'faraday-cookie_jar'
require 'concurrent'
require 'ms_rest'
require 'azure_storage/module_definition'
require 'generated/azure_storage/module_definition'
require 'ms_rest_azure'

module Petstore
autoload :StorageAccounts, 'azure_storage/storage_accounts.rb'
autoload :UsageOperations, 'azure_storage/usage_operations.rb'
autoload :StorageManagementClient, 'azure_storage/storage_management_client.rb'
autoload :StorageAccounts, 'generated/azure_storage/storage_accounts.rb'
autoload :UsageOperations, 'generated/azure_storage/usage_operations.rb'
autoload :StorageManagementClient, 'generated/azure_storage/storage_management_client.rb'

module Models
autoload :StorageAccountCheckNameAvailabilityParameters, 'azure_storage/models/storage_account_check_name_availability_parameters.rb'
autoload :CheckNameAvailabilityResult, 'azure_storage/models/check_name_availability_result.rb'
autoload :StorageAccountPropertiesCreateParameters, 'azure_storage/models/storage_account_properties_create_parameters.rb'
autoload :StorageAccountCreateParameters, 'azure_storage/models/storage_account_create_parameters.rb'
autoload :Endpoints, 'azure_storage/models/endpoints.rb'
autoload :CustomDomain, 'azure_storage/models/custom_domain.rb'
autoload :StorageAccountProperties, 'azure_storage/models/storage_account_properties.rb'
autoload :StorageAccountKeys, 'azure_storage/models/storage_account_keys.rb'
autoload :StorageAccountListResult, 'azure_storage/models/storage_account_list_result.rb'
autoload :StorageAccountPropertiesUpdateParameters, 'azure_storage/models/storage_account_properties_update_parameters.rb'
autoload :StorageAccountUpdateParameters, 'azure_storage/models/storage_account_update_parameters.rb'
autoload :StorageAccountRegenerateKeyParameters, 'azure_storage/models/storage_account_regenerate_key_parameters.rb'
autoload :UsageName, 'azure_storage/models/usage_name.rb'
autoload :Usage, 'azure_storage/models/usage.rb'
autoload :UsageListResult, 'azure_storage/models/usage_list_result.rb'
autoload :StorageAccount, 'azure_storage/models/storage_account.rb'
autoload :Reason, 'azure_storage/models/reason.rb'
autoload :AccountType, 'azure_storage/models/account_type.rb'
autoload :ProvisioningState, 'azure_storage/models/provisioning_state.rb'
autoload :AccountStatus, 'azure_storage/models/account_status.rb'
autoload :UsageUnit, 'azure_storage/models/usage_unit.rb'
autoload :StorageAccountCheckNameAvailabilityParameters, 'generated/azure_storage/models/storage_account_check_name_availability_parameters.rb'
autoload :CheckNameAvailabilityResult, 'generated/azure_storage/models/check_name_availability_result.rb'
autoload :StorageAccountPropertiesCreateParameters, 'generated/azure_storage/models/storage_account_properties_create_parameters.rb'
autoload :StorageAccountCreateParameters, 'generated/azure_storage/models/storage_account_create_parameters.rb'
autoload :Endpoints, 'generated/azure_storage/models/endpoints.rb'
autoload :CustomDomain, 'generated/azure_storage/models/custom_domain.rb'
autoload :StorageAccountProperties, 'generated/azure_storage/models/storage_account_properties.rb'
autoload :StorageAccountKeys, 'generated/azure_storage/models/storage_account_keys.rb'
autoload :StorageAccountListResult, 'generated/azure_storage/models/storage_account_list_result.rb'
autoload :StorageAccountPropertiesUpdateParameters, 'generated/azure_storage/models/storage_account_properties_update_parameters.rb'
autoload :StorageAccountUpdateParameters, 'generated/azure_storage/models/storage_account_update_parameters.rb'
autoload :StorageAccountRegenerateKeyParameters, 'generated/azure_storage/models/storage_account_regenerate_key_parameters.rb'
autoload :UsageName, 'generated/azure_storage/models/usage_name.rb'
autoload :Usage, 'generated/azure_storage/models/usage.rb'
autoload :UsageListResult, 'generated/azure_storage/models/usage_list_result.rb'
autoload :StorageAccount, 'generated/azure_storage/models/storage_account.rb'
autoload :Reason, 'generated/azure_storage/models/reason.rb'
autoload :AccountType, 'generated/azure_storage/models/account_type.rb'
autoload :ProvisioningState, 'generated/azure_storage/models/provisioning_state.rb'
autoload :AccountStatus, 'generated/azure_storage/models/account_status.rb'
autoload :UsageUnit, 'generated/azure_storage/models/usage_unit.rb'
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
require 'faraday-cookie_jar'
require 'concurrent'
require 'ms_rest'
require 'petstore/module_definition'
require 'generated/petstore/module_definition'

module Petstore
autoload :SwaggerPetstore, 'petstore/swagger_petstore.rb'
autoload :SwaggerPetstore, 'generated/petstore/swagger_petstore.rb'

module Models
autoload :User, 'petstore/models/user.rb'
autoload :Category, 'petstore/models/category.rb'
autoload :Pet, 'petstore/models/pet.rb'
autoload :Tag, 'petstore/models/tag.rb'
autoload :Order, 'petstore/models/order.rb'
autoload :User, 'generated/petstore/models/user.rb'
autoload :Category, 'generated/petstore/models/category.rb'
autoload :Pet, 'generated/petstore/models/pet.rb'
autoload :Tag, 'generated/petstore/models/tag.rb'
autoload :Order, 'generated/petstore/models/order.rb'
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def find_pets_by_status_async(status = nil, custom_headers = nil)
path_template = '/pet/findByStatus'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
query_params: {'status' => status.join(',')},
query_params: {'status' => status.nil? ? nil : status.join(',')},
headers: request_headers.merge(custom_headers || {})
}

Expand Down Expand Up @@ -434,7 +434,7 @@ def find_pets_by_tags_async(tags = nil, custom_headers = nil)
path_template = '/pet/findByTags'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
query_params: {'tags' => tags.join(',')},
query_params: {'tags' => tags.nil? ? nil : tags.join(',')},
headers: request_headers.merge(custom_headers || {})
}

Expand Down

0 comments on commit 20b4a28

Please sign in to comment.