Sha256: 5d31a2b4e91fbf54f43725039ca1b24e7006a8b1454037907967786e7e50e6dd
Contents?: true
Size: 714 Bytes
Versions: 2
Compression:
Stored size: 714 Bytes
Contents
module Dnsimple module Struct class Base def initialize(attributes = {}) attributes.each do |key, value| m = "#{key}=".to_sym self.send(m, value) if self.respond_to?(m) end end end end end require_relative 'struct/account' require_relative 'struct/contact' require_relative 'struct/domain' require_relative 'struct/domain_check' require_relative 'struct/email_forward' require_relative 'struct/extended_attribute' require_relative 'struct/oauth_token' require_relative 'struct/record' require_relative 'struct/tld' require_relative 'struct/user' require_relative 'struct/whois_privacy' require_relative 'struct/zone' require_relative 'struct/webhook'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dnsimple-3.0.0.pre.beta2 | lib/dnsimple/struct.rb |
dnsimple-3.0.0.pre.beta1 | lib/dnsimple/struct.rb |