lib/stripe/resources/terminal/location.rb in stripe-10.9.0.pre.beta.1 vs lib/stripe/resources/terminal/location.rb in stripe-10.9.0
- old
+ new
@@ -11,9 +11,12 @@
include Stripe::APIOperations::Delete
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save
OBJECT_NAME = "terminal.location"
+ def self.object_name
+ "terminal.location"
+ end
# Creates a new Location object.
# For further details, including which address fields are required in each country, see the [Manage locations](https://stripe.com/docs/terminal/fleet/locations) guide.
def self.create(params = {}, opts = {})
request_stripe_object(