Skip to content

Commit

Permalink
Rename two properties that start with a lower case letter
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Sep 13, 2018
1 parent ea63dac commit bd18e0b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/StripeSku.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class StripeSku : StripeEntityWithId, ISupportMetadata
/// The URL of an image for this SKU, meant to be displayable to the customer.
/// </summary>
[JsonProperty("image")]
public string image { get; set; }
public string Image { get; set; }

/// <summary>
/// Description of the SKU’s inventory.
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Services/Skus/StripeSkuSharedOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public abstract class StripeSkuSharedOptions : StripeBaseOptions, ISupportMetada
/// The URL of an image for this SKU, meant to be displayable to the customer.
/// </summary>
[JsonProperty("image")]
public string image { get; set; }
public string Image { get; set; }

/// <summary>
/// Description of the SKU’s inventory.
Expand Down
6 changes: 0 additions & 6 deletions src/_stylecop/StyleCopRules.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
<Rule Id="SA1124" Action="None" />
<Rule Id="SA1202" Action="None" />

<!--
Keep this rule disabled as it affects `image` on SKU.
Fixing it would be a breaking change.
-->
<Rule Id="SA1300" Action="None" />

<!--
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
SA1600: ElementsMustBeDocumented
Expand Down

0 comments on commit bd18e0b

Please sign in to comment.