Class: Vk::API::Photos::Methods::Save
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::Save
- Defined in:
- lib/vk/api/photos/methods/save.rb
Overview
Saves photos after successful uploading.
Arguments collapse
-
#album_id ⇒ Integer
ID of the album to save photos to.
-
#caption ⇒ String
Text describing the photo.
-
#group_id ⇒ Integer
ID of the community to save photos to.
-
#hash ⇒ String
Parameter returned when .
-
#latitude ⇒ Number
Geographical latitude, in degrees (from '-90' to '90').
-
#longitude ⇒ Number
Geographical longitude, in degrees (from '-180' to '180').
-
#photos_list ⇒ String
Parameter returned when .
-
#server ⇒ Integer
Parameter returned when .
Instance Method Summary collapse
- #initialize(arguments) ⇒ Photos::Methods::Save constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#album_id ⇒ Integer
Returns ID of the album to save photos to.
30 |
# File 'lib/vk/api/photos/methods/save.rb', line 30 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |
#caption ⇒ String
Returns Text describing the photo. 2048 digits max.
44 |
# File 'lib/vk/api/photos/methods/save.rb', line 44 attribute :caption, API::Types::Coercible::String.optional.default(nil) |
#group_id ⇒ Integer
Returns ID of the community to save photos to.
32 |
# File 'lib/vk/api/photos/methods/save.rb', line 32 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#hash ⇒ String
Returns Parameter returned when .
38 |
# File 'lib/vk/api/photos/methods/save.rb', line 38 attribute :hash, API::Types::Coercible::String.optional.default(nil) |
#latitude ⇒ Number
Returns Geographical latitude, in degrees (from '-90' to '90').
40 |
# File 'lib/vk/api/photos/methods/save.rb', line 40 attribute :latitude, API::Types::Coercible::Int.optional.default(nil) |
#longitude ⇒ Number
Returns Geographical longitude, in degrees (from '-180' to '180').
42 |
# File 'lib/vk/api/photos/methods/save.rb', line 42 attribute :longitude, API::Types::Coercible::Int.optional.default(nil) |