Sha256: 838a6db5a43167570c2c794b7c669abce0f9663435e1f440340dbe15e6666252
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
module Dnsimple module Struct class Base def initialize(attributes = {}) attributes.each do |key, value| m = "#{key}=".to_sym send(m, value) if respond_to?(m) end end end end end require_relative 'struct/account' require_relative 'struct/collaborator' require_relative 'struct/contact' require_relative 'struct/certificate' require_relative 'struct/certificate_bundle' require_relative 'struct/domain' require_relative 'struct/domain_check' require_relative 'struct/domain_premium_price' require_relative 'struct/domain_push' require_relative 'struct/domain_registration' require_relative 'struct/domain_transfer' require_relative 'struct/domain_renewal' require_relative 'struct/email_forward' require_relative 'struct/extended_attribute' require_relative 'struct/oauth_token' require_relative 'struct/zone_record' require_relative 'struct/service' require_relative 'struct/template' require_relative 'struct/template_record' require_relative 'struct/tld' require_relative 'struct/user' require_relative 'struct/whois_privacy' require_relative 'struct/zone' require_relative 'struct/zone_file' require_relative 'struct/webhook' require_relative 'struct/whoami'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dnsimple-4.1.0 | lib/dnsimple/struct.rb |