lib/aws/simple_workflow/client.rb in aws-sdk-1.8.0 vs lib/aws/simple_workflow/client.rb in aws-sdk-1.8.1
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
@@ -15,12 +15,10 @@
class SimpleWorkflow
# Client class for Amazon Simple Workflow Service (SWF).
class Client < Core::JSONClient
- define_client_methods('2012-01-25')
-
# @private
CACHEABLE_REQUESTS = Set[
:count_pending_activity_tasks,
:count_pending_decision_tasks,
:count_closed_workflow_executions,
@@ -36,11 +34,11 @@
:list_closed_workfow_executions,
:list_open_workfow_executions,
:list_workfow_types,
]
- ## client methods ##
+ # client methods #
# @!method count_closed_workflow_executions(options = {})
# Calls the CountClosedWorkflowExecutions API operation.
# @param [Hash] options
# * +:domain+ - *required* - (String)
@@ -1185,10 +1183,12 @@
# * +:reason+ - (String)
# * +:details+ - (String)
# * +:child_policy+ - (String)
# @return [Core::Response]
- ## end client methods ##
+ # end client methods #
+
+ define_client_methods('2012-01-25')
protected
def cacheable_request? name, options
if name == :poll_for_decision_task