lib/helium/organization.rb in helium-ruby-0.12.0 vs lib/helium/organization.rb in helium-ruby-0.13.0
- old
+ new
@@ -12,9 +12,21 @@
# TODO refactor into relationships
def users
@client.organization_users
end
+ def labels
+ @client.organization_labels
+ end
+
+ def elements
+ @client.organization_elements
+ end
+
+ def sensors
+ @client.organization_sensors
+ end
+
def as_json
super.merge({
name: name,
timezone: timezone
})