Skip to content

Commit

Permalink
Define settings as an accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
jacegu committed Apr 18, 2016
1 parent ea4ee54 commit a966ab7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/dnsimple/struct/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ class Setting < Base
# @return [String] The default subdomain where the service will be applied.
attr_accessor :default_subdomain

def settings
# @return [Array<Settings>] The array of settings to setup this service, if setup is required.
attr_accessor :settings

def initialize(*)
super
@settings ||= []
end

Expand Down

0 comments on commit a966ab7

Please sign in to comment.