class Azure::SAS::Sign

Attributes

backend[RW]

Public Class Methods

new(key, body) click to toggle source
# File lib/azure/sas/sign.rb, line 12
def initialize(key, body)
  @key = key
  @body = body
end

Public Instance Methods

perform() click to toggle source
# File lib/azure/sas/sign.rb, line 17
def perform
  self.class.backend.new(@key).sign(@body)
end