module AWS::Core

Copyright 2011-2012 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

http://aws.amazon.com/apache2.0/

or in the “license” file accompanying this file. This file is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2011-2012 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

http://aws.amazon.com/apache2.0/

or in the “license” file accompanying this file. This file is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2011-2012 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

http://aws.amazon.com/apache2.0/

or in the “license” file accompanying this file. This file is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2011-2012 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

http://aws.amazon.com/apache2.0/

or in the “license” file accompanying this file. This file is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Constants

Options
TARGET_PREFIX
XML

Public Class Methods

add_client_request_method(*args, &block) click to toggle source
# File spec/aws/core/configured_client_methods_spec.rb, line 80
def self.add_client_request_method(*args, &block)
  method_builder.instance_eval(&block)
end
service_name() click to toggle source
# File spec/aws/core/client_logging_spec.rb, line 22
def self.service_name; "FooBar"; end

Public Instance Methods

[]=(name, value) click to toggle source
# File spec/aws/core/xml_grammar_spec.rb, line 1271
def []=(name, value)
  fail
end
on_complete(&blk) click to toggle source
# File spec/aws/core/client_logging_spec.rb, line 45
def on_complete(&blk)
  on_complete_block(blk)
end
opts(name, value) click to toggle source
# File spec/shared/policy_examples.rb, line 238
def opts(name, value)
  opts = {}
  opts[name] = value
  opts
end
simulate(&block) click to toggle source
# File spec/aws/core/xml_grammar_spec.rb, line 1054
def simulate &block
  XmlGrammar.customize(&block).simulate
end
stub_n_members(response, n) click to toggle source
# File spec/shared/iam/policy_collection_examples.rb, line 201
def stub_n_members response, n
  response.stub(:policy_names).
    and_return((1..n).collect{|i| "Policy#{i}" })
end