class Smooth::Api::Policy

Attributes

name[RW]

Public Class Methods

new(name, options = {}) click to toggle source
# File lib/smooth/api/policy.rb, line 8
def initialize(name, options = {})
  @name = name
  @options = options
end

Public Instance Methods

apply_options(*opts) click to toggle source
# File lib/smooth/api/policy.rb, line 13
def apply_options(*opts)
  @options.send(:merge!, *opts)
end