Module: Requestsproxy

Defined in:
lib/requestsproxy-rest/version.rb,
lib/requestsproxy-rest.rb,
lib/requestsproxy-rest/api_error.rb,
lib/requestsproxy-rest/api_client.rb,
lib/requestsproxy-rest/configuration.rb,
lib/requestsproxy-rest/api/requestsproxy_api.rb,
lib/requestsproxy-rest/models/protobuf_value.rb,
lib/requestsproxy-rest/models/protobuf_struct.rb,
lib/requestsproxy-rest/models/protobuf_list_value.rb,
lib/requestsproxy-rest/models/protobuf_null_value.rb,
lib/requestsproxy-rest/models/requestsproxy_coupon.rb,
lib/requestsproxy-rest/models/requestsproxy_review.rb,
lib/requestsproxy-rest/models/requestsproxy_status.rb,
lib/requestsproxy-rest/models/requestsproxy_comment.rb,
lib/requestsproxy-rest/models/requestsproxy_feature.rb,
lib/requestsproxy-rest/models/requestsproxy_webhook.rb,
lib/requestsproxy-rest/models/requestsproxy_category.rb,
lib/requestsproxy-rest/models/requestsproxy_purchase.rb,
lib/requestsproxy-rest/models/requestsproxy_response.rb,
lib/requestsproxy-rest/models/requestsproxy_image_data.rb,
lib/requestsproxy-rest/models/requestsproxy_pagination.rb,
lib/requestsproxy-rest/models/requestsproxy_top_review.rb,
lib/requestsproxy-rest/models/requestsproxy_product_image.rb,
lib/requestsproxy-rest/models/requestsproxy_product_specs.rb,
lib/requestsproxy-rest/models/requestsproxy_user_response.rb,
lib/requestsproxy-rest/models/requestsproxy_webhook_event.rb,
lib/requestsproxy-rest/models/requestsproxy_orders_response.rb,
lib/requestsproxy-rest/models/requestsproxy_review_response.rb,
lib/requestsproxy-rest/models/requestsproxy_product_response.rb,
lib/requestsproxy-rest/models/requestsproxy_promoted_product.rb,
lib/requestsproxy-rest/models/requestsproxy_reviews_response.rb,
lib/requestsproxy-rest/models/requestsproxy_webhook_response.rb,
lib/requestsproxy-rest/models/requestsproxy_features_response.rb,
lib/requestsproxy-rest/models/requestsproxy_products_response.rb,
lib/requestsproxy-rest/models/requestsproxy_webhooks_response.rb,
lib/requestsproxy-rest/models/requestsproxy_auth_info_response.rb,
lib/requestsproxy-rest/models/requestsproxy_review_custom_field.rb,
lib/requestsproxy-rest/models/requestsproxy_dynamic_coupon_error.rb,
lib/requestsproxy-rest/models/requestsproxy_top_reviews_response.rb,
lib/requestsproxy-rest/models/requestsproxy_create_webhook_params.rb,
lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_stats.rb,
lib/requestsproxy-rest/models/requestsproxy_webhook_events_response.rb,
lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_response.rb,
lib/requestsproxy-rest/models/requestsproxy_promoted_products_response.rb,
lib/requestsproxy-rest/models/requestsproxy_account_star_rating_response.rb,
lib/requestsproxy-rest/models/requestsproxy_product_star_rating_response.rb,
lib/requestsproxy-rest/models/requestsproxy_products_star_rating_response.rb,
lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_statistics_response.rb,
lib/requestsproxy-rest/models/requestsproxy_create_dynamic_coupons_codes_response.rb

Overview

#requestsproxy.proto

#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)

OpenAPI spec version: version not set

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.0-SNAPSHOT

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, ProtobufListValue, ProtobufNullValue, ProtobufStruct, ProtobufValue, RequestsproxyAccountStarRatingResponse, RequestsproxyApi, RequestsproxyAuthInfoResponse, RequestsproxyCategory, RequestsproxyComment, RequestsproxyCoupon, RequestsproxyCreateDynamicCouponsCodesResponse, RequestsproxyCreateWebhookParams, RequestsproxyDynamicCouponError, RequestsproxyDynamicCouponsResponse, RequestsproxyDynamicCouponsStatisticsResponse, RequestsproxyDynamicCouponsStats, RequestsproxyFeature, RequestsproxyFeaturesResponse, RequestsproxyImageData, RequestsproxyOrdersResponse, RequestsproxyPagination, RequestsproxyProductImage, RequestsproxyProductResponse, RequestsproxyProductSpecs, RequestsproxyProductStarRatingResponse, RequestsproxyProductsResponse, RequestsproxyProductsStarRatingResponse, RequestsproxyPromotedProduct, RequestsproxyPromotedProductsResponse, RequestsproxyPurchase, RequestsproxyResponse, RequestsproxyReview, RequestsproxyReviewCustomField, RequestsproxyReviewResponse, RequestsproxyReviewsResponse, RequestsproxyStatus, RequestsproxyTopReview, RequestsproxyTopReviewsResponse, RequestsproxyUserResponse, RequestsproxyWebhook, RequestsproxyWebhookEvent, RequestsproxyWebhookEventsResponse, RequestsproxyWebhookResponse, RequestsproxyWebhooksResponse

Constant Summary collapse

VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Requestsproxy.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



75
76
77
78
79
80
81
# File 'lib/requestsproxy-rest.rb', line 75

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end