class RestPki::PadesVisualRectangle

Attributes

bottom[RW]
height[RW]
left[RW]
right[RW]
top[RW]
width[RW]

Public Class Methods

new() click to toggle source
# File lib/rest_pki/pades_visual_rectangle.rb, line 5
def initialize()
    @left = nil
    @top = nil
    @right = nil
    @bottom = nil
    @width = nil
    @height = nil
end

Public Instance Methods

to_model() click to toggle source
# File lib/rest_pki/pades_visual_rectangle.rb, line 14
def to_model()
    return {
        left: @left,
        top: @top,
        right: @right,
        bottom: @bottom,
        width: @width,
        height: @height
    }
end