Skip to content

Commit

Permalink
Extended attribute options follow the same pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jacegu committed Apr 18, 2016
1 parent a966ab7 commit bf89493
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/dnsimple/struct/extended_attribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ class Option < Base
# Boolean indicating if the extended attribute is required
attr_accessor :required

def options
# @return [Array<Options>] The array of options with possible values for the extended attribute
attr_accessor :options

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

def options=(opts)
Expand Down

0 comments on commit bf89493

Please sign in to comment.