Class: Vk::API::Photos::Methods::Edit
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::Edit
- Defined in:
- lib/vk/api/photos/methods/edit.rb
Overview
Edits the caption of a photo.
Arguments collapse
-
#caption ⇒ String
New caption for the photo.
- #delete_place ⇒ Boolean
- #foursquare_id ⇒ String
- #latitude ⇒ Number
- #longitude ⇒ Number
-
#owner_id ⇒ Integer
ID of the user or community that owns the photo.
-
#photo_id ⇒ Integer
Photo ID.
- #place_str ⇒ String
Instance Method Summary collapse
- #initialize(arguments) ⇒ Photos::Methods::Edit constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#caption ⇒ String
Returns New caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.
34 |
# File 'lib/vk/api/photos/methods/edit.rb', line 34 attribute :caption, API::Types::Coercible::String.optional.default(nil) |
#delete_place ⇒ Boolean
44 |
# File 'lib/vk/api/photos/methods/edit.rb', line 44 attribute :delete_place, API::Types::Form::Bool.optional.default(nil) |
#foursquare_id ⇒ String
42 |
# File 'lib/vk/api/photos/methods/edit.rb', line 42 attribute :foursquare_id, API::Types::Coercible::String.optional.default(nil) |
#latitude ⇒ Number
36 |
# File 'lib/vk/api/photos/methods/edit.rb', line 36 attribute :latitude, API::Types::Coercible::Int.optional.default(nil) |
#longitude ⇒ Number
38 |
# File 'lib/vk/api/photos/methods/edit.rb', line 38 attribute :longitude, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the photo.
30 |
# File 'lib/vk/api/photos/methods/edit.rb', line 30 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#photo_id ⇒ Integer
Returns Photo ID.
32 |
# File 'lib/vk/api/photos/methods/edit.rb', line 32 attribute :photo_id, API::Types::Coercible::Int |