Sha256: e16f0b32276faa68754162df7c618d21c64f7e6babb5cff104163c4a59376b77
Contents?: true
Size: 469 Bytes
Versions: 13
Compression:
Stored size: 469 Bytes
Contents
module Girdle class Grid attr_reader :id def initialize(id) @id = id end def self.list Girdle.run(grid: 'list') end def attributes Girdle.run(grid: 'attributes', gid: id)['gridAttributes'] end def name attributes['name'] end def megahertz attributes['gridMegahertz'] end def is_default? attributes['isDefault'] == 'YES' end end end
Version data entries
13 entries across 13 versions & 1 rubygems