We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81877c3 + 34c4493 commit 56133bfCopy full SHA for 56133bf
2 files changed
lib/mackerel/organization.rb
@@ -1,8 +1,9 @@
1
module Mackerel
2
class Organization
3
- attr_accessor :name
+ attr_accessor :name, :displayName
4
def initialize(args = {})
5
@name = args["name"]
6
+ @displayName = args["displayName"]
7
end
8
9
def to_h
spec/mackerel/organization_spec.rb
@@ -25,6 +25,7 @@
25
let(:organization) {
26
{
27
"name" => "HogeH",
28
+ "displayName" => "Fuga",
29
}
30
31
0 commit comments