-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Milestone
Description
The following attributes, defined with the sl_attr method are in camel case (to presumably match the lower-level naming) but to fit the Ruby idioms and the project style guidelines they should be in snake case (i.e., xxx_yyy_zzz, not zzzYyyZzz). Here are the ones I found:
lib/softlayer/Account.rb: sl_attr :companyName
lib/softlayer/Account.rb: sl_attr :firstName
lib/softlayer/Account.rb: sl_attr :lastName
lib/softlayer/Account.rb: sl_attr :postalCode
lib/softlayer/Account.rb: sl_attr :officePhone
lib/softlayer/NetworkComponent.rb: sl_attr :maxSpeed
lib/softlayer/ProductItemCategory.rb: sl_attr :categoryCode
lib/softlayer/Server.rb: sl_attr :fullyQualifiedDomainName
lib/softlayer/Ticket.rb: sl_attr :lastEditDate
lib/softlayer/VirtualServer.rb: sl_attr :provisionDate
lib/softlayer/VirtualServer.rb: sl_attr :activeTransaction
lib/softlayer/VirtualServer.rb: sl_attr :blockDevices
lib/softlayer/VirtualServer.rb: sl_attr :lastOperatingSystemReload
Also the VLAN_number attributes, although in snake case, probably should have "VLAN" in lower-case ala "vlan_number".
lib/softlayer/VLANFirewall.rb: sl_attr :VLAN_number, 'vlanNumber'
I realize that this in effect changes the API but we should get consistent and do it soon...
Metadata
Metadata
Assignees
Labels
No labels