Sha256: 74041502befb8240b1f2f151d6259e5d5e21903905968bbf7f176a0497439fad
Contents?: true
Size: 511 Bytes
Versions: 29
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true module FmRest module Spyke class Base < ::Spyke::Base include FmRest::Spyke::Model end end Layout = Spyke::Base # Shortcut for creating a Layout class and setting its FM layout name. # # @param layout [String] The FM layout to connect this class to # # @return [Class] A new subclass of `FmRest::Layout` with the FM layout # setting already set. # def self.Layout(layout) Class.new(Layout) do self.layout layout end end end
Version data entries
29 entries across 29 versions & 1 rubygems