William Cheng 9e2a9e1515
[Ruby] various improvements (#2226)
* add to_s in api error class

* rename variable to align with code sample

* fix initalize, better validation

* update petstore samples

* add code sample for model

* add auto-generated travis file

* improve error message

* add travis file

* uncomment to_s
2019-02-27 03:38:20 +08:00

537 B

Petstore::Name

Properties

Name Type Description Notes
name Integer
snake_case Integer [optional]
property String [optional]
_123_number Integer [optional]

Code Sample

require 'Petstore'

instance = Petstore::Name.new(name: null,
                                 snake_case: null,
                                 property: null,
                                 _123_number: null)