Class: Fog::AWS::IAM::Real::Mock
- Inherits:
-
Object
- Object
- Fog::AWS::IAM::Real::Mock
- Defined in:
- lib/fog/aws/requests/iam/delete_policy_version.rb,
lib/fog/aws/requests/iam/update_assume_role_policy.rb
Instance Method Summary collapse
- #delete_policy_version(policy_arn, version_id) ⇒ Object
- #update_assume_role_policy(policy_document, role_name) ⇒ Object
Instance Method Details
#delete_policy_version(policy_arn, version_id) ⇒ Object
31 32 33 34 35 36 |
# File 'lib/fog/aws/requests/iam/delete_policy_version.rb', line 31 def delete_policy_version(policy_arn, version_id) Excon::Response.new.tap do |response| response.body = { 'RequestId' => Fog::AWS::Mock.request_id } response.status = 200 end end |
#update_assume_role_policy(policy_document, role_name) ⇒ Object
31 32 33 34 35 36 |
# File 'lib/fog/aws/requests/iam/update_assume_role_policy.rb', line 31 def update_assume_role_policy(policy_document, role_name) Excon::Response.new.tap do |response| response.body = { 'RequestId' => Fog::AWS::Mock.request_id } response.status = 200 end end |