class Awscr::Signer::Scope

Overview

Represents the Scope of a Request

scope = Scope.new("s3", "us-east-1", Time.now)

Defined in:

awscr-signer/core/scope.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(region : String, service : String, timestamp : Time = Time.utc) #

[View source]

Instance Method Detail

def date : Date #

The date used in the scope


[View source]
def region : String #

The region of the Scope


[View source]
def service : String #

The service of the Scope


[View source]
def to_s(io : IO) #

Return the Scope as a string


[View source]